I have set up discounts, as follows

10% off when you purchase 1 product
15% off your total order when you purchase 2 products
20% off your total order when you purchase 3 products
25% off your total order when you purchase 4 products

The first discount of 10% does show in cart and checkout. However adding a second, third, or fourth product the discounts are applied sometimes and not others. Also, sometimes it doesn't show correctly on the cart page, but does when you go to checkout.

Thanks in advance.

Comments

pixelsweatshop’s picture

Ok. I am starting to see my issue and i think it has to do with my expectation that the subsequent discounts would trump the previous ones. E.g. once they purchased the second item, the 15% would take over the 10% discount. This is not the case and therefore my subsequent discounts should only be set for a further 5% discount and set to be combined with other discounts. Therefore the module, i would assume, is working as designed. However, it doesn't explain why sometimes the discount will show correctly on the checkout page and not the cart.

ryangroe’s picture

This is were the discount weight and "combine with other discounts" fields come into play. If, for instance, you make the weight of the 25% off discount higher than the 20% off discount it will be applied first. Then if you say that the two discounts cannot be applied to other discounts, the system will work as you want.

One small caveat (probably won't apply to you though) if no code is required for both discounts the user will be none the wiser. However, if a code is required and the same code is used for both discounts the user will see a message indicating that the 20% off discount was not applied (though the 25% off discount will apply).

I hope this helps. I am actually running a couple versions back despite being a maintainer of this module, so I hope nothing has altered this rather core functionality.

pixelsweatshop’s picture

Ah makes sense now. I am not sure why I didn't use my head on that one. I love the flexibility with this module. Well done guys.

jrust’s picture

Component: Code » Documentation
Category: bug » support
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.