Handling partial quantities in Zen Cart Better Together, Combination Discounts and Big Chooser

Some shops, such as those selling cloth or weighed goods, find it advantageous to set Admin->Configuration->Stock->Product Quantity Decimals to 2 instead of 0, and set the per product minimums to a fractional value. But my discount modules assume any quantity in the cart is at least 1 (i.e. it suffices to meet the condition in a linkage). To overcome this, simply round the quantity of each item in the cart to an integer value, and skip over the items which round to 0.  Detailed instructions for  Better Together, Combination Discounts and Big Chooser are provided in this article on Zen Cart Advanced Discount Configuration.  (See example 5.)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.