Forums / Built-in Shipping and Payment Modules / Rate Table Shipping plus Flat Rate Shipping

Rate Table Shipping plus Flat Rate Shipping

Locked

Started by jrayfield on 27 Dec 2008, 4:22 AM · Views: 2,161

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
27 Dec 2008, 4:22 AM
#1
jrayfield avatar

jrayfield

New Zenner

Join Date:
Dec 2008
Posts:
81
Plugin Contributions:
0

Rate Table Shipping plus Flat Rate Shipping

I'm setting up a site that uses, for most items, the Rate Table shipping. I've got that set up - that was the easy part.

But, there is one 'item' that has to ship in two boxes, so there needs to be some extra shipping cost for this item. Based on the total weight of the two boxes, the shipping would be $15 (as set in the Rate Table). But, I need to set the shipping for this one item at $20, because of the extra costs for two boxes.

I need suggestions and help on the best way to set this up.

John

27 Dec 2008, 9:49 AM
#2
mamasylvia avatar

mamasylvia

Zen Follower

Join Date:
Feb 2008
Posts:
379
Plugin Contributions:
0

Re: Rate Table Shipping plus Flat Rate Shipping

The easiest way I know of would be to add $5 to the cost, and explain in the description that because of the size of the item, the price includes an extra $5 shipping charge.

I do not know of a way to do what you are asking through the shipping modules.

Sylvia
PM at your own risk, I don't check in regularly!
MamaSylvia.com My ZenCart tutorial

27 Dec 2008, 11:23 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Rate Table Shipping plus Flat Rate Shipping

You could add an additional shipping cost by testing how many of the specific products_id is in the cart ...

In the function quote area of the shipping module, you could test for how many of the specific products_id are in the cart to add an additional charge ...

Example, if the products_id is 27 and you want an additional $5.00 per quantity:
global $cart;
$extra_shipping = $_SESSION['cart']->in_cart_check('products_id', 27) * 5.00;

Now add that to cost ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!