Try our conversational search powered by Generative AI!

Invalidated discount is incorrect when order includes item promotion and order promotion

Found in

EPiServer.Commerce 10.8.0

Fixed in

EPiServer.Commerce 11.1.0

(Or a related package)

Created

Jul 19, 2017

Updated

Aug 14, 2017

State

Closed, Fixed and tested


Description

Preconditions:
Item discount "20% off men shoes" and order discount "$50 off Order over $500"

Steps to reproduce:

  1. Place an order with "Faded Glory Mens Canvas Twin Gore Slip-On Shoe", placed price 14.5, quantity 50 => The item promotion and order promotion are applied.
  2. Complete the order.
  3. Create a return order "Faded Glory Mens Canvas Twin Gore Slip-On Shoe", quantity 25.

Expected: Invalidated discount includes the order discount and the item discount.
Actual: Invalidated discount only includes the order discount of $50.

Note: If we create a second return with the remaining items, the invalid discount includes the item discount correctly.