Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / US and International Shipping using Perweightunit?

US and International Shipping using Perweightunit?

Views: 684

Results 1 to 3 of 3
6 Jun 2012, 10:43 PM
#1
shopsfm avatar

shopsfm

New Zenner

Join Date:
Jan 2012
Location:
California
Posts:
36
Plugin Contributions:
0

US and International Shipping using Perweightunit?

Hello Everyone! We are having a hard time understanding how to setup international shipping. We mainly just want to offer shipping to Canada, Puerto Rico and Hawaii. Our US shipping is fine and we are using perweightunit. The only thing is because we deal with auto parts, our shipping costs on items varies so much. Is there a way to somehow multiply the current U.S. shipping costs?

EX: shipping an exhaust system on our site costs $40 shipped anywhere in the 48 states. Average shipping to canada is double that price. So we would like to charge Canadian customers $80.

Again I don't know if this is a good way to approach this problem but the posts i've seen so far seem to deal with products that have similar shipping weights/costs. we sell body kits, hoods, exhaust systems all the way down to small accessories. So our shipping charges can range anywhere from $5 to $200. Thanks for the help!

6 Jun 2012, 11:04 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: US and International Shipping using Perweightunit?

You could clone the Per Unit perweightunit shipping module ...

Then, make Zone Definitions for each cloned copy and set the:
perunitweightca.php

up to use the:

Shipping Cost per Unit 2.00

Cloning the shipping is fairly straight forward ...

Copy the files:
/includes/modules/shipping/perweightunit.php
/includes/languages/english/modules/shipping/perweightunit.php

to the files:
/includes/modules/shipping/perweightunitca.php
/includes/languages/english/modules/shipping/perweightunitca.php

Then customize the two files:
/includes/modules/shipping/perweightunitca.php
/includes/languages/english/modules/shipping/perweightunitca.php

and change, case sensative, all occurances of:
perweightunit to read perweightunitca
PERWEIGHTUNIT to read PERWEIGHTUNITCA

Then set the Zone Definitions for each one and the Shipping Cost per Unit for each on ...

Now if a Product has the weight of:
1.50 x 1 for $1.50 shipping in the US 48 version of perweightunit

it will now have:
1.50 x 2 for $3.00 shipping in the Canada, Hawaii and Alaska version of perweightunitca

7 Jun 2012, 3:37 AM
#3
shopsfm avatar

shopsfm

New Zenner

Join Date:
Jan 2012
Location:
California
Posts:
36
Plugin Contributions:
0

Re: US and International Shipping using Perweightunit?

Thank you.. we will give it a try and let you know. :thumbsup: