Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Zone Rates (The shipping rate cannot be determined at this time) issue

Zone Rates (The shipping rate cannot be determined at this time) issue

Views: 4,015

Results 1 to 20 of 39
5 Jun 2012, 5:04 PM
#1
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

Zone Rates (The shipping rate cannot be determined at this time) issue

Hello,
i tried to create my shipping China airmail modules on the first zone for testing but i receive (The shipping rate cannot be determined at this time), instead on the other i left with the default zen cart shipping rates works :blink:. The first zone rate is:Japan, South Korea, North Korea, Vietnam with their respective ISO two capital letters words and these are the shipping rates i put in USD and kg:
0.1:3.62,0.2:4.49,0.3:5.36,0.4:6.23, 0.5:7.1,0.6:7.97,0.7:8.84,0.8:9.71,0.9:10.58,1:11.45,1.10:12.32,1.20:13.19,1.30:14.06,1.40:14.23,1.50:15.8,1.60:16.67,1.70:17.54,1.80:18.41,1.90:19.28,2:20.15

5 Jun 2012, 5:14 PM
#2
ajeh avatar

ajeh

Oba-san

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

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

Check the settings in Configuration ... Shipping/Packaging and the Tare Rates ... most likely you need them set to 0:0 ...

What do you mean when you say you put in USD ...

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!

5 Jun 2012, 5:23 PM
#3
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

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

My site currency is in USD and weight in kg. Now, i see the shipping estimate ratings finally! Thank you!

5 Jun 2012, 5:54 PM
#4
ajeh avatar

ajeh

Oba-san

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

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

You are most welcome ... be aware that if you end your your test at 2:20:15, if the weight goes higher than 2, then you will not get a quote ...

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!

5 Jun 2012, 6:26 PM
#5
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

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

How i can avoid this issue so? My customers cannot buy items if they weigh more than 2 kg with Airmail. But how i can add another shipping module for EMS? It has 11 zones EMS.

5 Jun 2012, 6:34 PM
#6
ajeh avatar

ajeh

Oba-san

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

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

You can turn off the Zone Rate zones to turn off if there is more than weight of 2 in the cart with the code in RED:

      // disable only when entire cart is free shipping
      if (zen_get_shipping_enabled($this->code)) {
        $this->enabled = ((MODULE_SHIPPING_ZONES_STATUS == 'True') ? true : false);
      }

// bof: turn off if weight greater than 2
if (!IS_ADMIN_FLAG) {
  if ($_SESSION['cart']->weight > 2) {
    $this->enabled = false;
  }
}
// eof: turn off if weight greater than 2

      // CUSTOMIZE THIS SETTING FOR THE NUMBER OF ZONES NEEDED
      $this->num_zones = 3;

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!

5 Jun 2012, 6:38 PM
#7
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

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

What php file i should open for use this code? the zone.php?

5 Jun 2012, 6:41 PM
#8
ajeh avatar

ajeh

Oba-san

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

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

Yes, you said you were using the Zone Rate zones shipping module ... so the code in RED needs to be added to the code in the:
/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!

5 Jun 2012, 6:45 PM
#9
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

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

But with the Zone rates shipping module could be used also for EMS shipping in addiction to Airmail?

5 Jun 2012, 7:15 PM
#10
ajeh avatar

ajeh

Oba-san

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

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

The Zone Rate zones is designed to produce a shipping charge based on:
Price
Item Count
Weight

based on the scale that you set for it to use ...

It has nothing to really do with the Method of shipping ... the Method of shipping is your choice and you adjust the rates to best suit your Method of shipping ...

When you want another Method of shipping, then you would need another Shipping module that you can adjust the rates for ...

I am not sure how you want to manage EMS shipping and Airmail Shipping ...

As you only get 1 Shipping quote from Zone Rate zones, you would need to clone the Zone Rate zones shipping module to show another Shipping quote or find a shipping add on that can work for you in the Plugins that you can use or adapt for your shipping needs ...

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!

5 Jun 2012, 10:42 PM
#11
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

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

I need Airmail and EMS as available shipping methods and the customer can choose between them easily. I didn't understand well the cloning shipping module process, but i'd like to know how to do this.

6 Jun 2012, 4:36 PM
#12
ajeh avatar

ajeh

Oba-san

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

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

You can look in the Plugins and search on:
zone clone

for this add on:
http://www.zen-cart.com/downloads.php?do=file&id=977

and it has two additional Zone Rate clones in it that you might be able to use ...

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!

6 Jun 2012, 10:22 PM
#13
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

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

Thank you so much for this plugin :D!

6 Jun 2012, 10:30 PM
#14
ajeh avatar

ajeh

Oba-san

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

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

You are most welcome ... :smile:

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!

6 Jun 2012, 10:47 PM
#15
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

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

I copied the php files of the plugin into the folders but when i enter my shipping module in Zc admin when i click to every shipping option and also the zone one it doesn't appear nothing, i did something wrong? I cannot install nothing nor modify the shipping modules...

6 Jun 2012, 11:18 PM
#16
ajeh avatar

ajeh

Oba-san

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

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

You should have copied the directory:
\includes

over top of your server directory:
/includes

and now see the files:
/includes/modules/shipping/zones.php
/includes/modules/shipping/zones2.php
/includes/modules/shipping/zones3.php

/includes/languages/english/modules/shipping/zones.php
/includes/languages/english/modules/shipping/zones2.php
/includes/languages/english/modules/shipping/zones3.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!

6 Jun 2012, 11:37 PM
#17
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

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

Now i see them, i have installed wrong the files.

9 Jun 2012, 2:53 PM
#18
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

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

Unfortunately, i see again this error with the EMS shipping module i cloned and modified. When i add the shipping table numbers the error "shipping cannot be determined...." appear but i don't know why... I changed also the EMS to ems in the php file.
These are the rates for HK (Hong Kong) and Macau (MO), still incompleted because i tested if they worked or not.
0.6:13.38,1.20:16.28,1.8:19.18,2.40:22.08

9 Jun 2012, 2:59 PM
#19
ajeh avatar

ajeh

Oba-san

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

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

What modifications did you make to:
EMS shipping module

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!

9 Jun 2012, 3:32 PM
#20
ichigo12 avatar

ichigo12

New Zenner

Join Date:
Jun 2012
Posts:
28
Plugin Contributions:
0

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

I modified the the values "zone2" of the files zone2.php on includes/modules and languages folder.