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

Try our conversational search powered by Generative AI!

When creating Return, item discount not invalidated if applied for visitor group

Found in

EPiServer.Commerce 11.8.2

Fixed in

EPiServer.Commerce 11.8.3

(Or a related package)

Created

Feb 21, 2018

Updated

Mar 16, 2018

State

Closed, Fixed and tested


Description

Preconditions:

  • Create a visitor group: Products in Cart or Wishlist contains Women Tee/
  • Set default promotion of Quicksilver that applies for the above visitor group (Quicksilver campaign with discount off 20% men shoes)

Steps to reproduce:

  1. Place an order with men's shoes (SKU-44477844 - price $52.50) and a women's tee -> the men's shoes get a discount of 20%.
  2. Complete the above order.
  3. Create Return for men's shoes.

Expected:

  • The discount is invalidated
  • In the Return form, the below information is displayed correctly:
    • Line Items: 52.5
    • Invalidated Discounts: 10.5
    • Return total: 42

Actual:

  • The discount is not invalidated
    • Line Items: 52.5
    • Invalidate Discounts: 0
    • Return total: 52.5

Note:

  • The issue happened in 11.8.0. It was fixed in 11.8.1 (COM-6341) and it happens again in 11.8.2.