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

Try our conversational search powered by Generative AI!

Return total incorrect when combining "Off 20% menshoes" with "Buy 3 mens get most expensive free"

Found in

EPiServer.Commerce 12.3.0

Fixed in

EPiServer.Commerce 12.4.1

(Or a related package)

Created

Jun 13, 2018

Updated

Jul 23, 2018

State

Closed, Fixed and tested


Description

  • Precondition:
    • Off 20% mens shoes (first priority)
    • buy 3 mens shoes, get most expensive free

Steps to reproduce:
1. Add to cart 2 puma red( price 52.50) + 2 Faded Glory Mens (price 14.50)

  • 2 promotions are applied.
  • Price of 4 items after applying the first discount is ( 42, 42, 11.60, 11.60).
  • Price of 4 items after applying the second discount is (0, 42, 11.60, 11.60) => order subtotal is 65.20.

2. Place and complete the order.
3. Create a return for 1 puma red.

Expected:
Price of 3 remaining item should be (0, 11.60, 11.60) => Remaining item 's subtotal is 23.20 => Return total should be 42. Total before return should be 42.

Actual:
Return total is 31.50. Total before return is 31.50. Invalid discount is incorrect