Skip to main content

I’m currently working on applying discounts to products or orders using Campaigns, Promotions, and Coupons. 

Our storefront is built on a PWA (Progressive Web App) architecture. 

 

I’d like to implement a feature where customers can manually select a specific promotion or coupon to apply.  

However, once I activate a campaign, the promotion is automatically applied to the items in the cart as soon as they are added. 

 

Is there any way to prevent promotions from being applied automatically? 

 

 If I deactivate the campaign or remove the customer group, the list of applicable promotions for the product no longer appears. 

 

Any ideas or best practices would be greatly appreciated!

1 Antwort
  1. 4. Dez. 2025, 09:26

    Yeah, by default Salesforce B2C Commerce applies active promotions automatically if the eligibility rules match. To make it manual, you’ll need to set the promotion to “Require a coupon” and then handle the coupon entry in your PWA so it only applies when the customer chooses it. That way the campaign can stay active but nothing gets discounted until the code is entered.

0/9000