Hide menu Last updated: Sep 07 2017
Area: Episerver Commerce

Promotion exclusions

You can determine which promotions cannot be combined other promotions. For example, you are running a sale where automotive supplies are 20% off. Customers should not be able to combine this discount with the Get cheapest item free discount.

Promotion exclusivity applies to the order form level. So, if a promotion is applied to an order form, the promotion engine stops applying any other promotions which are excluded by that one.

To exclude promotions, set a list of ContentReference to the ExcludedItems. The following sample code illustrates how to accomplish this.

promotionData.ExcludedItems.Add(campaignLink);
promotionData.ExcludedItems.Add(anotherPromotionLink);

Three types of ContentReference can be added to the ExcludedItems property:

  • The SalesCampaign.CampaignRoot. This promotion cannot be combined with any other promotions.
  • A campaign's ContentLink. This promotion cannot be combined with any promotions in that campaign.
  • A promotion's ContentLink. This promotion cannot be combined with that specific promotion.

Comments