Forums / Built-in Shipping and Payment Modules / (The shipping rate cannot be determined at this time):

(The shipping rate cannot be determined at this time):

Views: 8,061

Results 1 to 20 of 45
24 Feb 2009, 12:47 AM
#1
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

(The shipping rate cannot be determined at this time):

Welp, I have about exhausted my tiny brain on this one. Any help would be appreciated.

Using Zone Shipping in the simplest manner (Zone 1 = US, Zone 2 = INT.) with Zone 1 being FREE and Zone 2 being controlled by how many items (a flat rate is applied per item).

Here is the kicker...
With one product in the cart I get this:

And with 2 I get this:

This happens for US and International Shipping. Now, in the first instance (only 1 item in cart) if you were to update the cart to include another product and continue, it is perfect. You can even go back and delete the second item (leaving only one) and it will be display the proper shipping.

I guess my question is, when does Zen Cart return the "(The shipping rate cannot be determined at this time): $0.00" message?? What triggers this message?

My brain is puddy at this point and I have failed.
Thanks to all for any help.
Regards,
Mike

24 Feb 2009, 1:07 AM
#2
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

You could look at includes/modules/shipping/zones.php to see what generates that message... It may be usefull if you were to tell us what settings you have in your settings for zones...

Steve

24 Feb 2009, 1:14 AM
#3
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

s_t_e_v_e:

You could look at includes/modules/shipping/zones.php to see what generates that message... It may be usefull if you were to tell us what settings you have in your settings for zones...

Steve,
Sorry, that would help wouldn't it. Here you go:
Zone Based Rates

Enable Zones Method
True

Calculation Method
Item

Tax Class
--none--

Tax Basis
Shipping

Sort Order
0

Skip Countries, use a comma separated list of the two character ISO country codes

Zone 1 Countries
US

Zone 1 Shipping Table
99:0.00

Zone 1 Handling Fee
0

Zone 2 Countries
AX,AF,AL,DZ,AS,AD,AO,AI,AQ,AG,AR,AM,AW,AU,AT,AZ,BS,BH,BD,BB,BY,BE,BZ,BJ,BM,BT,BO,BA,BW,BV,BR,IO,BN,BG,BF,BI,KH,CM,CA,CV,KY,CF,TD,CL,CN,CX,CC,CO,KM,CG,CK,CR,CI,HR,CU,CY,CZ,DK,DJ,DM,DO,TP,EC,EG,SV,GQ,ER,EE,ET,FK,FO,FJ,FI,FR,FX,GF,PF,TF,GA,GM,GE,DE,GH,GI,GR,GL,GD,GP,GU,GT,GN,GW,GY,HT,HM,HN,HK,HU,IS,IN,ID,IR,IQ,IE,IL,IT,JM,JP,JO,KZ,KE,KI,KP,KR,KW,KG,LA,LV,LB,LS,LR,LY,LI,LT,LU,MO,MK,MG,MW,MY,MV,ML,MT,MH,MQ,MR,MU,YT,MX,FM,MD,MC,MN,MS,MA,MZ,MM,NA,NR,NP,NL,AN,NC,NZ,NI,NE,NG,NU,NF,MP,NO,OM,PK,PW,PA,PG,PY,PE,PH,PN,PL,PT,PR,QA,RE,RO,RU,RW,KN,LC,WS,SM,ST,SA,SN,SC,SL,SG,SK,SI,SB,SO,ZA,GS,ES,LK,SH,PM,SD,SR,SJ,SZ,SE,CH,SY,TW,TJ,TZ,TH,TG,TK,TO,TT,TN,TR,TM,TC,TV,UG,UA,AE,GB,UM,UY,UZ,VU,VA,VE,VN,VG,VI,WF,EH,YE,YU,ZM,ZW

Zone 2 Shipping Table
1:4.00,2:4.00,3:4.00,4:4.00,5:4.00,10:5.00,15:5.50,20:6.50,25:7.00,30:8.00,1000:25.00

Zone 2 Handling Fee
0

Zone 3 Countries

Zone 3 Shipping Table

Zone 3 Handling Fee

I will also take a peak into the file you suggested.
Thank you Steve!
Regards,
Mike

24 Feb 2009, 1:16 AM
#4
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

Steve,
The statement "The shipping rate cannot be determined at this time" does not exist in the zones.php file. It also does NOT come up in the Developers Tool Kit.
Regards,
Mike

24 Feb 2009, 1:30 AM
#5
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

inside the file; includes/languanges/english/modules/shipping/zones.php is the statement;
define('MODULE_SHIPPING_ZONES_UNDEFINED_RATE', 'The shipping rate cannot be determined at this time');

that is the "english" version of the error message that is used in the includes/modules/shipping/zones.php;

...
if ($shipping == -1) {
$shipping_cost = 0;
$shipping_method = MODULE_SHIPPING_ZONES_UNDEFINED_RATE;
} else {
...

Steve

24 Feb 2009, 1:35 AM
#6
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

s_t_e_v_e:

inside the file; includes/languanges/english/modules/shipping/zones.php is the statement;
define('MODULE_SHIPPING_ZONES_UNDEFINED_RATE', 'The shipping rate cannot be determined at this time');

that is the "english" version of the error message that is used in the includes/modules/shipping/zones.php;

...
if ($shipping == -1) {
$shipping_cost = 0;
$shipping_method = MODULE_SHIPPING_ZONES_UNDEFINED_RATE;
} else {
...

Steve,
Headed there again now.
Will let you know and thank you again.
Regards,
Mike

24 Feb 2009, 1:49 AM
#7
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

Steve,
No wonder CTRL+F was failing me. I found the instance at line 217 and it is exactly what you posted. I do not know enough PHP to figure out what this really means.

I also noticed that the Shipping Rates under "Step 1 - Delivery Information" lower on the page is calculating correctly. Seen here..

So now I am more confused. The real issue with this is the International Customers will not be charged shipping at all. I even checked the Invoice's in the back end and sure enough they say the same as the screen. I would be happy to PM you the URL (we are not live yet) and even send you a Brake (if you cycle).

Thanks Steve for taking the time to help a stranger.
Regards,
Mike

24 Feb 2009, 2:16 AM
#8
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

are you using the standard template for shopping cart???

Steve

24 Feb 2009, 2:34 AM
#9
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

Steve,
This will sound pretty dumb, but how do I find out? I am stepping in for the previous person who was working on this and will admit to being novice at PHP and Zen.
Sorry to disapoint...
Regards,
Mike

24 Feb 2009, 2:48 AM
#10
s_t_e_v_e avatar

s_t_e_v_e

Zen Follower

Join Date:
Aug 2006
Location:
UK
Posts:
430
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

Ok... only way of knowing would be to compare files....

up to now, it appears to be a fault with the checkout template... as it is trying to give you a postage without knowing the destination address... I would need to trace through that code to see what is happening.

unfortunately, its nearly 3am. I'll check back tomorrow to see if anyone else has offered any guidance...

Steve

24 Feb 2009, 2:53 AM
#11
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

Steve,
I figured it had to be late out there. Just got finished with Top Gear and it's time for dinner. Thank you for your assitance today, it is greatly appreciated. I am not done trying to figure this out myself, I have just run out of steam for the day.
Thanks again Steve.
Regards,
Mike

24 Feb 2009, 10:40 PM
#12
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

Am I really the only person with this issue?
Very strange...
Regards,
Mike

24 Feb 2009, 11:24 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: (The shipping rate cannot be determined at this time):

Could you get, from the server, the ID on the file:
/includes/modules/shipping/zones.php

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Feb 2009, 11:30 PM
#14
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

Linda,
Would this be what you are referring to?

  • @version $Id: zones.php 6347 2007-05-20 19:46:59Z ajeh $

And btw, I have NO problem paying for help. I just need to know this can be fixed before I spend money that is not mine.

Regards,
Mike

25 Feb 2009, 4:16 AM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: (The shipping rate cannot be determined at this time):

Yes that was it ... :smile:

Now, if you go to the Admin and look in the Modules ... Shipping ... and click on Edit ... do you see this:

Zone 1 Countries
Comma separated list of two character ISO country codes that are part of Zone 1.
Set as 00 to indicate all two character ISO country codes that are not specifically defined.

Read it carefully ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Feb 2009, 3:52 PM
#16
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

Linda,
Sorry for not getting back to you last night...
I think I understand where you are pointing me too. I have added the neccessary comma needed and Domestic Shipping seems to be fixed.

It no longer says Shipping Rates (Shipping to US):
It now says Shipping Rates (Shipping to ):

International is another story. The international shipping is still not being calculated in the Order Total part of the page seen here.

Did I not take your advice correctly? Or am I just a complete moron when it comes to this?

I very much appreciate your time and effort here Linda.
Regards,
Mike

25 Feb 2009, 4:12 PM
#17
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

However, if I add one more product to the cart...
Whalaa, it works perfectly. I am so missing something here!!!

Regards,
Mike

25 Feb 2009, 10:16 PM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: (The shipping rate cannot be determined at this time):

Check the Products you are adding to the Cart ...

Are any of them marked as:
Always Free Shipping YES
Virtual Products YES
Downloads

One thing I was wondering is if you save all the Shipping settings on your Shipping modules to NotePad and then do a REMOVE, INSTALL and re-configure do they start working correctly?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Feb 2009, 10:24 PM
#19
mrboma avatar

mrboma

New Zenner

Join Date:
Jan 2009
Posts:
18
Plugin Contributions:
0

Re: (The shipping rate cannot be determined at this time):

Linda,
We only have one product that comes in 6 lovely colors :smile:
And yes, that product has everything marked NO for the radios you asked about.

I have also done the C&P - remove/re-install. Should I try this again perhaps?

Your help is greatly appreciated. It's always the little things that hault the launch.

Regards,
Mike

25 Feb 2009, 11:31 PM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: (The shipping rate cannot be determined at this time):

On the Zone 2 ... you have a slew of Countries in there are they suppose to be all the countries except the US?

If so, why not use 00 where it says use 00 for all countries not otherwise defined?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!