ATG Qualifer Service How to find qualifiers

454 Views Asked by At

For some promotions (like spend y in x and get item discount) OOTB qualifier service doesn't mark any commerce item as qualifier. And evaluateQualifier() method returns boolean instead of List type.

So in these particular scenarios: how to find the commerce items which acted as qualifier?

2

There are 2 best solutions below

1
Jags Krishnamurthy On

Turn on the loggingDebug in PricingManager and PricingEngine. It will shed some light on how the pricing is working and what qualifiers are used.

0
Роман Радецкий On

set evaluateTargetItemsFirst = false for your promo itemDescriptor in productCatalog, and then you will be able to find CommerceItems which acted as qualifier