Forums / Built-in Shipping and Payment Modules / Two shipping by weight options

Two shipping by weight options

Views: 1,152

Results 1 to 8 of 8
18 Apr 2012, 4:00 PM
#1
maniacxd avatar

maniacxd

New Zenner

Join Date:
Jan 2012
Posts:
17
Plugin Contributions:
0

Two shipping by weight options

Hi,
I was wondering if someone could help me out.
I have two shipping options that I would like my clients to have. Both options use the shipping per weight. The rates are different though, because one ships faster than the other.
I was wondering how I could configure both of them separately so that clients can choose which one they want.

Thanks
Rishi.

Rishi Ramgutty Design. My store : MCM Cigars

18 Apr 2012, 4:58 PM
#2
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,798
Plugin Contributions:
22

Re: Two shipping by weight options

You could duplicate the shipping module you're using and set it up with a different cost and language definitions...

My site - Pro ZC Help
My portfolio | My plugins

18 Apr 2012, 5:25 PM
#3
maniacxd avatar

maniacxd

New Zenner

Join Date:
Jan 2012
Posts:
17
Plugin Contributions:
0

Re: Two shipping by weight options

Thanks for your reply. Actually I cannot use that method, let me explain why.

I have 2 shipping options

Shipping option 1: ( 10 days delivery)
Less than 50 grams = a $
Less than 100 grams = b $
Less than 150 grams = c $
And so forth

Shipping option 2 ( 5days delivery) is similar but different rate.

The way I thought of doing this right now is manually entering the shipping price as the weight (after categorizing) because per Weight unit shipping works as : Product Quantity * Units (products_weight) * Cost per Unit. I set cost per unit to 1 then get the price of shipping as per the product.
Hope am not confusing. Am I doing this the wrong way and is there an easier method?

Thanks.

Rishi Ramgutty Design. My store : MCM Cigars

18 Apr 2012, 5:44 PM
#4
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,798
Plugin Contributions:
22

Re: Two shipping by weight options

Then use Table rate and duplicate Table rate. You'll get exactly what you want.

My site - Pro ZC Help
My portfolio | My plugins

19 Apr 2012, 6:17 PM
#6
maniacxd avatar

maniacxd

New Zenner

Join Date:
Jan 2012
Posts:
17
Plugin Contributions:
0

Re: Two shipping by weight options

Thanks for the reply,

So I have tried to duplicate the table rates as instructed by the thread you linked. His instructions are for duplicating flat rate, so I adapted them to table rates. The thing with the table rates, there is much more text, and some things that should not be renamed. I looked at this thread
http://www.zen-cart.com/forum/showthread.php?t=69665
for reference as to what should be renamed and what should not. The rates.php files for v1.5 are slightly different.

Anyways after uploading the new duplicates, I went on modules->shipping I got an error message and the rates duplicates do not show. When i delete the files it works fine. So there must be some renaming issues.

Any help would greatly be appreciated.
Thanks

Rishi Ramgutty Design. My store : MCM Cigars

19 Apr 2012, 7:51 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Two shipping by weight options

Read through that entire thread... There is not point repeating what is said there. Follow the processes, and you will have a duplicate module.

20 years a Zencart User

19 Apr 2012, 10:05 PM
#8
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,798
Plugin Contributions:
22

Re: Two shipping by weight options

LOL... There's a duplicated module in the add ons section... Take a look here. I think it should work on 1.3.9h, but anyone please correct me if I'm wrong.

So, in your case, you'll set up the original Table rate module to 50:a,100:b,150:c etc and the cloned one to 50:aa,100:bb,150:cc etc

It's really really simple...

My site - Pro ZC Help
My portfolio | My plugins