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

free gift promotion selection list

Former Member
0 Kudos
397

Hello,

I have a requirement to allow the user to select free gifts from the list of products configured in promotions. How can i fetch the details and display in PDP ? Note that it should only get displayed when conditions are satisfied. For eg: if i have 3 products in condition and i have already added 2 products on cart then on displaying of 3rd product PDP it should show a selection list where user can choose the gift. Let me know any ways of how i can fetch promotions on PDP.

Cheers, Shen

Accepted Solutions (0)

Answers (1)

Answers (1)

vinay_malempati
Active Participant
0 Kudos

Hi Somasundaram,

Hybris supports potential promotions for cnd products in cart, PFB the link for the Same here

https://help.hybris.com/6.7.0/hcd/649ad41e52c044369cc92fb706b89726.html

If you want the promotions to be displayed in PDP then it has to be custom code similar to the approach followed in PromotionCodeValueProvider.java apart from the qualifying products and categories if there are any extra conditions you might need to handle it after getting the promotion.

Hope this helps