on 2024 Jan 10 1:13 PM
I have a requirement where I want 2 promotion groups to be assigned to a BaseSite. Since OOTB allows only one promo group per site, How do I achieve it? Thanks in advance.
Request clarification before answering.
In the BaseSite --> You will have defaultPromotionGroup, which will apply to that site.
Generally, you can create various campaigns and assign to that promotion but still if you want multiple promotionGroup.
Can you please try this.
Add a collection to the baseSite - promotionGroupList.
Override the below method getPromotionGroups() of DefaultCommerceCartCalculationStrategy and return your promotionGroups inplace of below code
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.