Showing results for 
Search instead for 
Did you mean: 

Custom Promotion on Qualifying Categories condition using promotion rule engine

0 Kudos

I'm trying to customize Qualifying Categories condition using a Translator class. I need to get sum of total price of products belong to categories configured in Qualifying Categories condition is more than 5000 then promotion(free gift or fixed discount) should get applied. The cart may contain other categories as well which is not configured. But we need to consider the total price of categories configured is more than the threshold then promotion should get applied.

How can we iterate cart EntryRAO in the translator to consider products belong to these categories and total their sum is more than the threshold value. Please suggest me how to proceed with this promotion rule coding.

Accepted Solutions (0)

Answers (0)