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.
Re: Quantity discounts not being applied to Sale products
Quote:
Originally Posted by
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?
Re: Quantity discounts not being applied to Sale products
Quote:
Originally Posted by
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
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...
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?
Re: Quantity discounts not being applied to Sale products
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 ...
Re: Quantity discounts not being applied to Sale products
I'm having this problem with several items here is the link to one of them...
http://madrobotminiatures.com/zencar...products_id=50
The sale price applies to 1 piece but not once the quantity discount switches on.
Thanks.
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...