(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:
http://bikebrake.com/Untitled-1.jpg
And with 2 I get this:
http://bikebrake.com/Untitled-2.jpg
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
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...
Re: (The shipping rate cannot be determined at this time):
Quote:
Originally Posted by
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,H R,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,M H,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,T N,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
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
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 {
...
Re: (The shipping rate cannot be determined at this time):
Quote:
Originally Posted by
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
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..
http://bikebrake.com/Untitled-3.jpg
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
Re: (The shipping rate cannot be determined at this time):
are you using the standard template for shopping cart???
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
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...