Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Promotion wrongly applied when combining 'Get cheapest for free' and 'Fix price" promotions

Found in

EPiServer.Commerce 12.2.0

Fixed in

EPiServer.Commerce 12.4.0

(Or a related package)

Created

May 24, 2018

Updated

Jul 09, 2018

Area

Core

State

Closed, Fixed and tested


Description

Precondition: There are 2 promotions:

  • Buy 3 mens at $30 (Fix price), redemption limit for customer - 1 per registered user, first priority
  • Buy 2 mens get 1 free (Get cheapest for free)

Case 1: No exclusion

  1. Log in to Quicksilver.
  2. Add to cart 6 Puma Red (price $52.50).

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.

  • Note: Issue does not happen if you add 1,2,3,4 or 5 items to the cart. It only happens when you add 6 items to the cart.

Case 2: 2 promotions exclude each other with Unit level exclusion

  1. Log in to Quicksilver.
  2. Add to the cart 6 Puma Red (price $52.50)

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.