cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get product info in promotions applied in Hybris

Former Member
930

I would like to learn which promotions were applied to which products on promotionengine in order to distribute prices on products amongst themselves and send them to ERP.

When we look at the promotionService in Hybris, there is a method called getPromotionResults(order). It returns PromotionOrderResults object. In this object, two methods are related to my case, getAppliedProductPromotions() and getAppliedOrderPromotions(). If I did not miss it, I could not see product info for a promotion in these methods' results. Also, I looked at all attributes via getAppliedOrderPromotions().get(0).getAllAttributes() but i could not have them.

How can I know product info and discount amount in a promotion?

Accepted Solutions (0)

Answers (0)