Multiple promotions, apply to only items that don't already have a promotion

Vote:
 

Hi,

How can I make a promotion in EPiServer that is applied to all items that does not already have a promotion on them?
For example if I have a 20% sale on most items in the store (without a coupon code) and a 10% off coupon code that should only be applied to products that are not on sale, how can I do that?
In edit/admin I can change the order so that only one is applied but I want both to be applied, I could also update the coupon code to exclude items that are on sale but it can be multiple promotions during different times and the coupon code is valid for a longer time so it's not realy workable for the editor to keep updating this list all the time.

Can I make a code change (where?) to exclude items that already have an promotion on them?

/Viktor

#204420
May 31, 2019 16:51
Vote:
 

Did you try the unit level promotion exclusion? https://world.episerver.com/documentation/developer-guides/commerce/marketing/promotion-exclusions/

#204421
May 31, 2019 17:36
Vote:
 

Hi,

Thanks that was just what I needed but there was one more issue. The promotions that we used was of the type "Spend for Discounted Selection", we had to change that to "Buy Products for Discount from Other Selection" for one of the promotions (the sale one) and then it worked. Same issue on the quicksilver site. Is there a reason for this?

/Viktor

#204460
Edited, Jun 03, 2019 13:13
Vote:
 

Yes they have a reason for it. Unit exclusion works on the lineitems used to fulfill the conditons of the promotions, for the "Spend for Discounted Selection" promotion the condition is the total amount spent which translates into all lineitems in the cart.

#204497
Jun 04, 2019 14:01
Vote:
 

Ok, thanks!

/Viktor

#204565
Jun 10, 2019 8:28
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.