Administrator
- Join Date:
- Feb 2006
- Location:
- Tampa Bay, Florida
- Posts:
- 10,720
- Plugin Contributions:
- 56
[Done v1.3.9] Bug in Quantity Discounts for mixed attribute products
Totals are not computed correctly, which leads to some products not getting the quantity discount they should even when products price manager has discount qty applies to mixed attributes = Yes.
This can be duplicated by setting discount level 1 min qty 10 and adding (say) 4 then 8 of the same product with different attribute settings.
Fix is in includes/classes/shopping_cart.php. Add the line
reset($check_contents);
immediately below line 1436 in 1.3.8a and 1430 in 1.3.7.1
Scott
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.