Forums / Addon Shipping Modules / Cloned Shipping for 3 modules - various Countries and Costs

Cloned Shipping for 3 modules - various Countries and Costs

Started by cuysan on 22 Feb 2016, 4:09 PM · Views: 1,763

Results 1 to 9 of 9
22 Feb 2016, 4:09 PM
#1
cuysan avatar

cuysan

New Zenner

Join Date:
Feb 2009
Posts:
40
Plugin Contributions:
0

Cloned Shipping for 3 modules - various Countries and Costs

I have an interesting one that requires three cloned modules. I did clone flat rate but now not sure that's what I need. Now looking at per weight. Here's what my client wants to do:

My basic first class without insurance is $3 for USA, Canada $10.95, China $17.95 everywhere else is $14.95. I charge this for items under $100.

For items $100- $1000 USA $7.00 Canada 12.95 China 29.95 everywhere else $19.95.

For items that cost over 1K the cost is USA $16 Canada $28 everywhere else $35

Does it look possible? I'm just stuck trying to figure this out. I believe per weight but wanted to check with you. Don't even see where I would set those prices. :dontgetit

22 Feb 2016, 4:42 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Cloned Shipping for 3 modules - various Countries and Costs

Are you trying to calculate shipping based on Product price so that if in the cart there is:
1 Product for $50.00
1 Product for $125.00
1 Product $1300
Shipping would be:
$3 + $7 + $16 for the USA

Or, do you mean because the order is for $1475 that the shipping for the USA is $16.00?

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!

22 Feb 2016, 4:51 PM
#3
cuysan avatar

cuysan

New Zenner

Join Date:
Feb 2009
Posts:
40
Plugin Contributions:
0

Re: Cloned Shipping for 3 modules - various Countries and Costs

Thanks for the reply. This would be correct:
**the order is for $1475 that the shipping for the USA is $16.00? **

I'm looking at zoned rates and I have modified them to have 4 zones. I believe that's the way I'll have to go? But need some help.

22 Feb 2016, 5:11 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Cloned Shipping for 3 modules - various Countries and Costs

I do not believe that you need to clone Zone Rates zones but add more zones to it ...

By default it comes with 3 zones ...

In your examples, you have:
USA
Canada
China
Rest of the world

So I believe you need 4 zones ...

However, your last example does not show China by itself, did you miss showing its charge?

For items that cost over 1K the cost is USA $16 Canada $28 everywhere else $35

If so, you just need a little help configuring the Zone Rates for each Zone and their charges based on Price ...

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!

22 Feb 2016, 5:33 PM
#5
cuysan avatar

cuysan

New Zenner

Join Date:
Feb 2009
Posts:
40
Plugin Contributions:
0

Re: Cloned Shipping for 3 modules - various Countries and Costs

Thanks so much. Yes, I just left it off that one. Will be 4 zones on each. Kind of stumped on configuration of at least three zone rates I believe I need? I guess when I see one, I'll know what to do.

From what I see, wouldn't I need 3 zone rates (with clones). And of course each of the clones having 4 configurable zones. Yup, stuck on configuring.

22 Feb 2016, 5:55 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Cloned Shipping for 3 modules - various Countries and Costs

First, edit the shipping module:
/includes/modules/shipping/zones.php

and find the code around line 114:

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

and change 3 to 4 ...

Now, you should see 4 Zones in Modules ... Shipping ... when you click on Zone Rates ...

The Zone Rates use the 2 character ISO code to identify the Country ... then the settings for the rates, example:
For the United States:
US
100:3.00,1000:7.00,10000:16.00

For Canada:
CA
100:10.95,1000:12.95,10000:28.00

For China:
CN
100:17.95,1000:29.95,10000:35.00 (or whatever the China Rate is for this)

For the Rest of the World use:
00 (to mean everyone not previously defined)
100:14.95,1000:19.95,10000:35

And that should be everyone ... just adjust as needed for your shipping quotes ...

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!

22 Feb 2016, 6:15 PM
#7
cuysan avatar

cuysan

New Zenner

Join Date:
Feb 2009
Posts:
40
Plugin Contributions:
0

Re: Cloned Shipping for 3 modules - various Countries and Costs

Thank you so much. I've added the /includes/modules/shipping/zones.php to have four zones. Configuration looks a breeze, with your input. :smile: I'll post back how it all works out once I try it. I really appreciate your help.

22 Feb 2016, 8:46 PM
#8
cuysan avatar

cuysan

New Zenner

Join Date:
Feb 2009
Posts:
40
Plugin Contributions:
0

Re: Cloned Shipping for 3 modules - various Countries and Costs

As you knew, it works absolutely perfect. :shocking:

22 Feb 2016, 10:59 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: Cloned Shipping for 3 modules - various Countries and Costs

Thanks for the update that this is working for you ... :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!