Loading
Prepare for Email to Become the Default Login ExperienceRead More
B2C Commerce Release Notes
Get Coupon-Based Promotions with New Script API

Get Coupon-Based Promotions with New Script API

The PromotionMgr.getActiveCustomerPromotions(boolean ignoreCouponCondition) script API returns all active promotions including coupon-based promotions when ignoreCouponCondition set to true. You can use the returned promotions to expose promotions on your storefront. For example, display a callout message for coupon-based promotions on product detail or product list pages.

 
Loading
Salesforce Help | Article