Forums / Setting Up Specials and SaleMaker / Quantity discounts not being applied to Sale products

Quantity discounts not being applied to Sale products

Views: 6,444

Results 1 to 9 of 9
23 Jan 2012, 4:25 AM
#1
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Quantity discounts not being applied to Sale products

How do I make quantity discounts apply to Sale products?

I have quantity settings currently set to discount type percentage and discount priced from special.
This works for Specials, but not for Sale products.

What is the correct setting for this? Or does it need custom code?

I looked in the products_quantity_discounts.php file and I see it uses the zen_get_products_special_price fuction, which is supposed to get both Sales and Specials so I don't understand why it doesn't work with Sale products.

I tried changing the function
from
zen_get_products_special_price
to
zen_get_products_actual_price
This does make it display the prices correctly, but when the product is added to the cart the discount is still calculated from base price.

18 May 2012, 7:50 PM
#2
ptowers49 avatar

ptowers49

New Zenner

Join Date:
Aug 2009
Location:
UK
Posts:
71
Plugin Contributions:
0

Re: Quantity discounts not being applied to Sale products

tj1:

How do I make quantity discounts apply to Sale products?

I have quantity settings currently set to discount type percentage and discount priced from special.
This works for Specials, but not for Sale products.

What is the correct setting for this? Or does it need custom code?

I looked in the products_quantity_discounts.php file and I see it uses the zen_get_products_special_price fuction, which is supposed to get both Sales and Specials so I don't understand why it doesn't work with Sale products.

I tried changing the function
from
zen_get_products_special_price
to
zen_get_products_actual_price
This does make it display the prices correctly, but when the product is added to the cart the discount is still calculated from base price.

Is this still the fix for 1.3.9?

18 May 2012, 7:51 PM
#3
ptowers49 avatar

ptowers49

New Zenner

Join Date:
Aug 2009
Location:
UK
Posts:
71
Plugin Contributions:
0

Re: Quantity discounts not being applied to Sale products

tj1:

How do I make quantity discounts apply to Sale products?

I have quantity settings currently set to discount type percentage and discount priced from special.
This works for Specials, but not for Sale products.

What is the correct setting for this? Or does it need custom code?

I looked in the products_quantity_discounts.php file and I see it uses the zen_get_products_special_price fuction, which is supposed to get both Sales and Specials so I don't understand why it doesn't work with Sale products.

I tried changing the function
from
zen_get_products_special_price
to
zen_get_products_actual_price
This does make it display the prices correctly, but when the product is added to the cart the discount is still calculated from base price.

Is this still the fix for 1.3.9 http://www.zen-cart.com/forum/showpo...0&postcount=24

18 May 2012, 8:07 PM
#4
ptowers49 avatar

ptowers49

New Zenner

Join Date:
Aug 2009
Location:
UK
Posts:
71
Plugin Contributions:
0

Re: Quantity discounts not being applied to Sale products

checked and this is now included in the 1.3.9 code.... sorry for the confusion...

12 May 2013, 9:32 AM
#5
manage_it avatar

manage_it

Inactive

Join Date:
May 2006
Posts:
80
Plugin Contributions:
0

Re: Quantity discounts not being applied to Sale products

It does not work either in v1.51.
I have a sale discount of 10%, but the quantity discount overrules the sale discount. The sale discount gives a better price, so this is expected by the customer. How can this be fixed?

24 May 2013, 10:47 AM
#6
phil_s avatar

phil_s

New Zenner

Join Date:
Mar 2008
Posts:
49
Plugin Contributions:
0

Re: Quantity discounts not being applied to Sale products

Same issue here.

26 Jun 2013, 1:57 AM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Quantity discounts not being applied to Sale products

Have you an URL where we can see this? I may have a solution for this but I would like to see your issue on your site ...

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!

2 Jan 2014, 8:11 PM
#9
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: Quantity discounts not being applied to Sale products

Did you find a fix? To my knowledge the sale code has not been plugged in to quantity discounts just yet...

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian