Try our conversational search powered by Generative AI!

Default behavior of promotion engine Evaluate extension methods returns only fulfilled promotions

Found in

EPiServer.Commerce 9.19.0

Fixed in

EPiServer.Commerce 9.22.1

(Or a related package)

Created

Aug 11, 2016

Updated

Sep 12, 2016

Area

Core

State

Closed, Fixed and tested


Description

When calling one of the IPromotionEngineExtensions overloads for Evaluate that doesn't take a RequestFulfillmentStatus parameter, it defaults to Fulfilled only.

This is most likely an unexpected behavior considering the expected use-case for Evaluate: given a product listing, you want to check which products have an entry-level promotion. If quantity for the condition is > 1, the promotion is never found. By passing in PartiallyFulfilled as well, all matching promotions are discovered.