Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Different National and International Shipping & FREE SHIPPING

Different National and International Shipping & FREE SHIPPING

Locked

Views: 4,651

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
16 Oct 2006, 2:03 AM
#1
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Different National and International Shipping & FREE SHIPPING

I need to setup different shipping charges for National and International orders.
I've read the other threads posted but each person was doing shipping a different way or maybe I just didn't understand.

I just need someone to help me brainstorm the best way to set this up using Zen Cart.

National Shipping:
$2.39 per item
Free shipping for Orders over $59

International
$5.00 per item
Free shipping for Orders over $119

Many thanks!

16 Oct 2006, 4:33 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Different National and International Shipping & FREE SHIPPING

You would need to customize or clone the Module ... Order Totals ... Shipping ot_shipping.php to handle the differences for two Free Shipping settings based on different zones ...

Then clone the Item Shipping and make one for one Zone and one for another Zone ... to handle your regular shipping ...

16 Oct 2006, 4:36 AM
#3
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Re: Different National and International Shipping & FREE SHIPPING

sounds complicated...but I'll give it a try :)
thanks

16 Oct 2006, 4:46 AM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Different National and International Shipping & FREE SHIPPING

A search on clone shipping or clone item or clone flat would probably come up with quite a few nice helpful threads such as:

http://www.zen-cart.com/forum/showthread.php?t=41751

18 Oct 2006, 10:26 PM
#5
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Re: Different National and International Shipping & FREE SHIPPING

many many thanks. I was able to create two different per item shipping modules for national and international.

Now I'm off to figure out how to clone the Free shipping module.

Once I'm done I'll post these files up in the downloads section for others to use :)

I <3 Zen and the community so much....

18 Oct 2006, 10:37 PM
#6
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Re: Different National and International Shipping & FREE SHIPPING

k I need a little more help. :)

I have cloned /includes/modules/orderTotals/ot_shipping.php

But what text should I be replacing?
ot_shipping or ORDER_TOTAL_SHIPPING

I am guessing that I also need to clone and change the language file.
/includes/languages/english/modules/orderTotals/ot_shipping.php

18 Oct 2006, 10:52 PM
#7
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Re: Different National and International Shipping & FREE SHIPPING

....message Edited....

18 Oct 2006, 11:06 PM
#8
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Re: Different National and International Shipping & FREE SHIPPING

the free shipping option module offers 3 radio buttons to select from.

  1. National
  2. International
  3. Both

Since I am creating 2 separate files to manage free shipping separate for national and international, I would like to disable these options.

for ot_shipping_national.php I want the default option to be National
for ot_shipping_international.php I want the default option to be International.

I'm not a php coder so I have no idea how to modify the code.
any help would be greatly appreciated.

20 Nov 2006, 8:25 AM
#9
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Re: Different National and International Shipping & FREE SHIPPING

ok im back on this one.

I made a copy of ot_shipping.php, what should I change in the duplicate file to successfully create a separate free option for international orders?

any help would be greatly appreciated.

thanks

20 Nov 2006, 8:52 AM
#10
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Re: Different National and International Shipping & FREE SHIPPING

ok. i just made some changes and installed the module successfully.
not im off to test it and i hope it works.

below are the changes i made. i kinda guessed what i had to change so it is highly likely that i changed the wrong stuff. if anyone with experience could take a look and tell me if i changed the right stuff, that would be great.

files duplicated and modified:
includes/modules/order_total/ot_shipping.php
includes/languages/english/modules/order_total/ot_shipping.php

changes made:

ORDER_TOTAL_SHIPPING changed to ORDER_TOTAL_SHIPPING_INTERNATIONAL
FREE_SHIPPING changed to FREE_SHIPPING_INTERNATIONAL
ot_shipping changed to ot_shipping_international

23 Jan 2007, 10:09 PM
#11
polarduality avatar

polarduality

Zen Follower

Join Date:
Mar 2006
Location:
Los Angeles
Posts:
260
Plugin Contributions:
2

Re: Different National and International Shipping & FREE SHIPPING

ok. im back from hiatus!
:)

Can somebody help me with this? I need to setup separate free shipping for national and international orders. I know I have to close ot_shipping.php but I'm not sure what needs to be changed.

thanks