Wrong invalidated discount when creating return with off 20% mens shoes promotion
Found in
EPiServer.Commerce 12.3.0
Fixed in
EPiServer.Commerce 12.4.1
Created
Jun 12, 2018
Updated
Jul 23, 2018
Area
Core
State
Closed, Fixed and tested
Description
- Precondition: Promotion off 20% men's shoes
Steps to reproduce:
- Add to a cart:
1 Puma Red (SKU-44477844, unit price 52.50, discounted price 42)
2 Faded Glory Mens Canvas Twin Gore Slip-On Shoe (SKU-36127195, unit price 14.50, discounted price 11.60)
- Place and complete the order.
- Create the first return - 1 puma red.
- Create the second return - 1 Faded Glory Mens Canvas -> invalidated discount is 2.90, return total is 11.60.
- Create the third return - 1 Faded Glory Mens Canvas -> Observe the invalidated discount and return total.
Expected:
Invalidated discount and return total of 3rd return should be 2.90 and 11.60.
Actual:
Invalidated discount and return total of 3rd return is 5.80 and 8.70.
- Note: Issue does not happen if you place an order with only 2 Faded Glory Mens Canvas shoes