Try our conversational search powered by Generative AI!

IPromotionEngine.GetDiscountPrices returns incorrect prices

Found in

EPiServer.Commerce 12.5.0

Fixed in

EPiServer.Commerce 12.7.0

(Or a related package)

Created

Aug 08, 2018

Updated

Aug 24, 2018

Area

Core

State

Closed, Fixed and tested


Description

IPromotionEngine.GetDiscountPrices returns incorrect prices for "Buy Products for Discount in Same Category".

Steps to reproduce

  1. Set up a new instance of Quicksilver.
  2. Delete the existing marketing campaigns.
  3. Create a new campaign and mark it active.
  4. Create a new discount of the type "Buy Products for Discount in Same Category".
  5. Configure it to give a 25% discount on all products in the "Mens Shoes" category.

The discounted prices for multiple SKUs are not calculated correctly.

Reported from https://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2018/8/ipromotionengine-getdiscountprices-returns-incorrect-prices/