May 24, 2018
Jul 09, 2018
Core
Closed, Fixed and tested
Precondition: There are 2 promotions:
Case 1: No exclusion
Expected:
Order total should be $115 (Price of 6 items after applied first promotion is 10, 10, 10, 52.5, 52.5, 52.5. Price of 6 items after applied second promotion is 0, 10, 0, 52.5, 0, 52.5 => Total 115)
Actual:
Order total is 177.50.
Case 2: 2 promotions exclude each other with Unit level exclusion
Expected:
Order total is $135 (Price of 6 items after applied first promotion is 10, 10, 10, 52.5, 52.5, 52.5. Price of 6 items after applied second promotion is 10, 10, 10, 52.5, 0, 52.5 => Total 135)
Actual:
Order total is $187.5. Only the first promotion is applied.
Note: The issue does not happen if you add 1,2,3,4 or 5 items to cart. It only happens when you add 6 items to the cart.