Our client is running multiple coupons, and in some cases the coupons can be combined. Currently there are automatic order total coupons that give customers 5% off for an order with $250 total, or 10% for an order with $500 total. There is also a "Welcome" coupon that can be used once per customer for 10% off of the order total.
Each of these coupons seem to work perfectly on their own, but we've noticed some odd math when a customer uses the Welcome coupon with either of the automatic order total coupons. For example, here is a recent order in which the 10% Welcome coupon was combined with an automatic order coupon of 10% because the order total including VAT was over $500:
Subtotal: 469.92
Tax: 56.39
Subtotal + Tax: 526.31
Discount: 97.63
Total: 428.68
By my math the discount total should either be $105.26 if both are being applied simultaneously, or $100.02 if each 10% discount is being applied sequentially.
If anyone can give me a better idea of how multiple discounts like this are handled at checkout it would be greatly appreciated.
Each of these coupons seem to work perfectly on their own, but we've noticed some odd math when a customer uses the Welcome coupon with either of the automatic order total coupons. For example, here is a recent order in which the 10% Welcome coupon was combined with an automatic order coupon of 10% because the order total including VAT was over $500:
Subtotal: 469.92
Tax: 56.39
Subtotal + Tax: 526.31
Discount: 97.63
Total: 428.68
By my math the discount total should either be $105.26 if both are being applied simultaneously, or $100.02 if each 10% discount is being applied sequentially.
If anyone can give me a better idea of how multiple discounts like this are handled at checkout it would be greatly appreciated.