We noticed that discounts were being applied to items in the cart below the minimum quantity when another item was above the minimum quantity (ie. all discountable items in the cart were being discounted). Not sure if this is by design, or an oversight. At the least, we might want to provide a choice like "Apply discount to entire cart, or to individual products depending on whether they meet the minimum quantity."

Patch that checks quantity per product before discounting in uc_discounts.module

CommentFileSizeAuthor
uc_discounts_alt_6.x-2.0_min_qty.patch930 bytesdarkodev

Comments

jrust’s picture

Status: Active » Needs review

Anyone want to test this one out? I don't want to patch the discount logic without some tests.