How do I set 2 flat shipping rates to 2 different zone?
Hi, I have two different flat shipping rates: one for US and the other for international per item. I want to have the shipping calculate per item, not per price and weight. I tried to use Table rate or Zone shipping to set it up but it does not have the Per Item calculation opion as in Flat shipping setting. Can someone help me?
Thanks.
Re: How do I set 2 flat shipping rates to 2 different zone?
Are you wanting a Flat Shipping Rate for the whole order? Use Flat Rate ... flat.php
Or, are you wanting a Per Item Shipping Rate? Use Per Item ... item.php
You would clone the shipping module that you want to use and set one to use one zone and one to use the other zone ...
I recently posted a method to make a quick World Zone that excludes the US ... but I don't recall where that thread is at the moment ... but you might try a search for zones and see what comes up ...
There are also several threads on cloning shipping modules that you can look up to help you in doing this ...
Or, perhaps some kind soul has bookmarked these or know where they are at ... :smile:
Re: How do I set 2 flat shipping rates to 2 different zone?
Yes I want to setup Flat shipping per item. I did use the Flat Shipping module setup for 1 zone: USA. I want to have another one like that with different flat rate for International. How do I clone it? and save where?
Thanks.
Re: How do I set 2 flat shipping rates to 2 different zone?
Flat means I order 27 items and pay $5.00 ... I order 1 item and pay $5.00
Per Item means I order 27 items at $5.00 each and pay $135.00 ... I order 1 item and pay $5.00
Do you want a Flat Rate Shipping? Flat Rate flat.php
Or do you want a Per Item Shipping? Per Item item.php
Re: How do I set 2 flat shipping rates to 2 different zone?
Sorry for the confusion.
I want Per item rate: $5/item for US, $10/item for international. Please help to show me how to clone it.
Thanks.
Re: How do I set 2 flat shipping rates to 2 different zone?
Copy the files:
/includes/modules/shipping/item.php
/includes/languages/english/modules/shipping/item.php
itemusa.php and itemworld.php
In the proper files:
Globally replace item with itemusa and itemworld
Globally replace ITEM with ITEMUSA and ITEMWORLD
Those are case sensative so be careful ...
WARNING: do NOT change the word item on this line:
PHP Code:
$total_count = $total_count - $_SESSION['cart']->free_shipping_items();
Uninstall the old Flat and Per Item that you have installed ...
Install the new ones ... and set their zones
Cloning a shipping module is not difficult just be careful ...
Re: How do I set 2 flat shipping rates to 2 different zone?
Do I need to put them into override folders for the future upgrade as below?
/includes/modules/shipping/MYTEMPLATE/itemusa.php
/includes/languages/english/modules/shipping/MYTEMPLATE/itemusa.php
/includes/modules/shipping/MYTEMPLATE/itemworld.p
/includes/languages/english/modules/shipping/MYTEMPLATE/itemworld.php
Thanks.
Re: How do I set 2 flat shipping rates to 2 different zone?
No, you can add them to the original directories as you are making new ones and not true overrides ...
Re: How do I set 2 flat shipping rates to 2 different zone?
Thank you Linda.
It works great. I have another question about the zone: for International, how do I set to include all countries for the itemworld without USA?
Thanks.
Re: How do I set 2 flat shipping rates to 2 different zone?
You search for that neat world zone post that I made that has all the countries defined except the world ... :cool:
Where I put it ... umm ... I forget ... :cry: