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

Try our conversational search powered by Generative AI!

When creating return, order discount not invalidated if applied for a visitor group

Found in

EPiServer.Commerce 11.8.0

Fixed in

EPiServer.Commerce 11.8.3

(Or a related package)

Created

Feb 08, 2018

Updated

Mar 16, 2018

State

Closed, Fixed and tested


Description

Preconditions:

  • Create a visitor group: Products in Cart or Wishlist contains Women Tee
  • There are order promotions applied for the above visitor group. For example - Set default promotion of Quicksilver applies for the above visitor group (Quicksilver campaign with order discount off $50 for order over $500)

Steps to reproduce:

  1. Add a women's tee to a wishlist.
  2. Place an order with a Curvy Dress (SKU-38424528), price $22, quantity 23 -> Item subtotal is $506 -> order promotion is applied.
  3. Complete above order.
  4. Create a return for variant SKU-38424528, price $22, quantity 1.

Expected:

  • After returning, the remaining subtotal is $484 -> Order promotion is invalidated.
  • The display in return form (Line Items price, Invalidated Discount, Return total) should be consistent with cases Campaign applies for all users (no setting for visitor group in Campaign)

Actual: Order promotion is not invalidated
Note: Please fix the display in return form (Line Items price, Invalidate Discount) to be consistent with cases Campaign applies for all users if the promotion is Item type too