Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Multiple Flat Shipping rates

Multiple Flat Shipping rates

Locked

Views: 986

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
15 Nov 2010, 8:13 PM
#1
sklos avatar

sklos

New Zenner

Join Date:
Oct 2010
Posts:
17
Plugin Contributions:
0

Multiple Flat Shipping rates

Greetings,

I would like to have two flat-rate shipping rates, based on the state being delivered to. I have a courier option for 5 states in the upper midwest, and will offer USPS flat-rate for all other states. I have tried multiple different configurations and tweaks in Zones and Zone Tables, but haven't apparently hit on the right combination yet. Can anyone assist?

Thank you!

15 Nov 2010, 8:48 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple Flat Shipping rates

Clone your flat rate module naming it appropriately
https://www.zen-cart.com/tutorials/index.php?article=189

Or get the free software addon that another has contributed that clones it for you

Guess you have your zones setup??

16 Nov 2010, 4:51 AM
#3
sklos avatar

sklos

New Zenner

Join Date:
Oct 2010
Posts:
17
Plugin Contributions:
0

Re: Multiple Flat Shipping rates

I think so - I have "All Other States" and "Upper Midwest." So which files do I edit for per order flat rates, assuming I copy the "flat.php" file to "flatuw.php" and "flateotherus.php?"

Thank you for your assistance.

16 Nov 2010, 4:59 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple Flat Shipping rates

So which files do I edit for per order flat rates
I posted the link - - Didn't you bother to read it?

16 Nov 2010, 5:03 AM
#5
sklos avatar

sklos

New Zenner

Join Date:
Oct 2010
Posts:
17
Plugin Contributions:
0

Re: Multiple Flat Shipping rates

Yes, I did, but I am looking to do per order flat rates, and the link mostly talked about per item flat rates, and looking for "item" strings and replacing them. Wasn't clear to me what the differences would be (if any) on per order flat rates.

16 Nov 2010, 5:46 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple Flat Shipping rates

I> did, but I am looking to do per order flat rates
look at settings in the admin - - that is the default

16 Nov 2010, 6:03 AM
#7
sklos avatar

sklos

New Zenner

Join Date:
Oct 2010
Posts:
17
Plugin Contributions:
0

Re: Multiple Flat Shipping rates

Kobra - I appreciate your patience as I hack my way through this. I copied the flat.php file to flatus.php and flatotherus.php. I replaced all instances of flat and FLAT with "flatus" and "flatotherus" respectively, and uploaded them to the proper directories. Now, when those files are present, my Shipping Modules list in the admi ->modules->shipping is empty. If I rename them, the list reappears. Any thoughts?

16 Nov 2010, 6:12 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Multiple Flat Shipping rates

I replaced all instances of flat and FLAT with "flatus" and "flatotherus" respectively

Ajeh:

Next, you need to edit all occurances of flat to flatfree and FLAT to FLATFREE ... this is case sensitive and will break the Shipping Module if you do not change their names properly.

16 Nov 2010, 3:50 PM
#9
ajeh avatar

ajeh

Oba-san

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

Re: Multiple Flat Shipping rates

Note: be sure to do the matching language files in the same manner ...