Forums / Built-in Shipping and Payment Modules / Quantity Discounts for shipping 1.5

Quantity Discounts for shipping 1.5

Started by jpmill on 6 Apr 2013, 7:47 PM · Views: 3,038

Results 1 to 8 of 8
6 Apr 2013, 7:47 PM
#1
jpmill avatar

jpmill

New Zenner

Join Date:
Aug 2009
Location:
Blairsville, Pa
Posts:
32
Plugin Contributions:
0

Quantity Discounts for shipping 1.5

Hi,
I looked around for an answer but couldn't find anything. I am using 1.5.0. Here is my question...
I am selling products that all have the same shipping price of $7.99 but if someone orders more items shipping to the same address I want to charge only $2.99 for each additional item. How can I go about doing this?

If it can be done but requires special coding, please send me a private message with an idea for a cost. You can also include your name and number (if in the US) and I can call you for specifics.

John

6 Apr 2013, 8:48 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,746
Plugin Contributions:
56

Re: Quantity Discounts for shipping 1.5

You can do this sort of thing with Table Rate shipping.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

6 Apr 2013, 8:54 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,746
Plugin Contributions:
56

Re: Quantity Discounts for shipping 1.5

... with one small change: where it's computing the price for non percentage prices, multiply by $order_total less 1.

} else {
$shipping = $table_cost[$i+1] * ($order_total - 1);

This is line 122 in 1.3.9, 1.5.0 and 1.5.1.

This is probably obvious, but you would also set the Table Method to item and the Handling Fee to $7.99, and the Shipping Table to
100000:2.99

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Apr 2013, 1:20 AM
#4
jpmill avatar

jpmill

New Zenner

Join Date:
Aug 2009
Location:
Blairsville, Pa
Posts:
32
Plugin Contributions:
0

Re: Quantity Discounts for shipping 1.5

swguy:

... with one small change: where it's computing the price for non percentage prices, multiply by $order_total less 1.

} else {
$shipping = $table_cost[$i+1] * ($order_total - 1);

This is line 122 in 1.3.9, 1.5.0 and 1.5.1.

This is probably obvious, but you would also set the Table Method to item and the Handling Fee to $7.99, and the Shipping Table to
100000:2.99

What file do I edit please? I am a novice at this lol

7 Apr 2013, 1:22 AM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,746
Plugin Contributions:
56

Re: Quantity Discounts for shipping 1.5

includes/modules/shipping/table.php

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Apr 2013, 3:07 AM
#6
jpmill avatar

jpmill

New Zenner

Join Date:
Aug 2009
Location:
Blairsville, Pa
Posts:
32
Plugin Contributions:
0

Re: Quantity Discounts for shipping 1.5

thank you sir!

7 Apr 2013, 3:44 PM
#7
jpmill avatar

jpmill

New Zenner

Join Date:
Aug 2009
Location:
Blairsville, Pa
Posts:
32
Plugin Contributions:
0

Re: Quantity Discounts for shipping 1.5

so do replace line #139...

$show_box_weight = ' (' . number_format($shipping_weight * $shipping_num_boxes,2) . TEXT_SHIPPING_WEIGHT . ')';

with the new code or do I add the new code below it?

7 Apr 2013, 4:28 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Quantity Discounts for shipping 1.5

Another way to do this without changing any code, is to use the Per Item item shipping module ...

Set the Rate per item to: 2.99
Set the Handling to: 5.00

Now you get the charge of:
Qty 1 as 1 x 2.99 + 5.00 = $7.99
Qty 2 as 2 x 2.99 + 5.00 = $10.98

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!