Forums / Built-in Shipping and Payment Modules / Setting up flat rate shipping from U.S. to Canada / Mexico

Setting up flat rate shipping from U.S. to Canada / Mexico

Views: 1,349

Results 1 to 10 of 10
24 Feb 2012, 3:34 PM
#1
clif avatar

clif

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Setting up flat rate shipping from U.S. to Canada / Mexico

Currently I have a flat rate shipping at one price for all U.S. orders, and another price for the rest of the world. However, since it is cheaper for me to ship from the U.S. to Canada or Mexico than other international locations, how do I separate Canada / Mexico from my other international zones?

This is what I have set up at the moment:

Zone Rates

Zone Based Rates

Enable Zones Method
True

Calculation Method
Weight

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
10000.00:3.49

Zone 1 Handling Fee
0

Handling Per Order or Per Box Zone 1 (when by weight)
Order

Zone 2 Countries
00

Zone 2 Shipping Table
10000.00:17.99

Zone 2 Handling Fee
0

Handling Per Order or Per Box Zone 2 (when by weight)
Order

Zone 3 Countries

Zone 3 Shipping Table
10000.00:17.99

Zone 3 Handling Fee
0

Handling Per Order or Per Box Zone 3 (when by weight)
Order

24 Feb 2012, 3:47 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Setting up flat rate shipping from U.S. to Canada / Mexico

Save your settings for the Zone Rate zones shipping module to NotePad ...

Do a REMOVE ...

Then, edit the Zone Rate zones shipping module:
/includes/modules/shipping/zones.php

and you can change how many Zones you want to define:

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

Now do an INSTALL ... and reconfigure your Zones ...

NOTE: for the 00 for everyone not other wise defined, set that as the LAST setting on the Zones ...

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 2012, 5:30 PM
#3
clif avatar

clif

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Re: Setting up flat rate shipping from U.S. to Canada / Mexico

My zones.php already is setup this way:

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

so I shouldn't need to do a remove on the shipping module right? only change the settings in it?

My shipping module in zencart shows three zones, the first is set to US, the second 00 and zone 3 is blank? it may be set already and I may only need to adjust the shipping price in zone 3...

24 Feb 2012, 6:40 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Setting up flat rate shipping from U.S. to Canada / Mexico

If you want the:
US
Canada
Mexico
Rest of the World - 00

That is 4 you are set to 3 ...

To add more zones you need to do a REMOVE, change the setting, INSTALL and reconfigure ...

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 2012, 8:29 PM
#5
clif avatar

clif

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Re: Setting up flat rate shipping from U.S. to Canada / Mexico

OK I thought maybe something was built in zencart as a zone for north america. In that case, I will just do US, Canada, and the rest of the world. What would I need to do to make Canada zone 3? I know how to change zone 3's shipping rate...

24 Feb 2012, 9:56 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Setting up flat rate shipping from U.S. to Canada / Mexico

Zone 3 is the one you would use for the Rest of the World with the 00 ...

Zone 1 for United States would use:
US

Zone 2 for Canada would use:
CA

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 2012, 8:04 PM
#7
clif avatar

clif

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Re: Setting up flat rate shipping from U.S. to Canada / Mexico

OK thanks I believe I understand now. I have Canada now @ $15.99 and the rest of the world @ $17.99 does this look correct now:

Zone Rates

Zone Based Rates

Enable Zones Method
True

Calculation Method
Weight

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
10000.00:3.49

Zone 1 Handling Fee
0

Handling Per Order or Per Box Zone 1 (when by weight)
Order

Zone 2 Countries
CA

Zone 2 Shipping Table
10000.00:15.99

Zone 2 Handling Fee
0

Handling Per Order or Per Box Zone 2 (when by weight)
Order

Zone 3 Countries
00

Zone 3 Shipping Table
10000.00:17.99

Zone 3 Handling Fee
0

Handling Per Order or Per Box Zone 3 (when by weight)
Order

25 Feb 2012, 11:14 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Setting up flat rate shipping from U.S. to Canada / Mexico

It looks correct, now you need to go and test that it is correct ... :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!

26 Feb 2012, 12:01 PM
#9
clif avatar

clif

New Zenner

Join Date:
Jun 2011
Posts:
13
Plugin Contributions:
0

Re: Setting up flat rate shipping from U.S. to Canada / Mexico

Thanks a million for the help, someone from Canada made a purchase not long after I set up the new rate for that zone, and it charged them the proper amount. :clap:

26 Feb 2012, 2:02 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Setting up flat rate shipping from U.S. to Canada / Mexico

Thanks for the update that this is now working correctly 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!