Take the community feedback survey now.

Erik Norberg
Jun 1, 2017
  2688
(2 votes)

Marketing: The sorrows of exclusion

Today I would like to share with You how exclusion in the new Episerver promotion engine works and what marketers needs to be aware of.

Let's start by setting up the premise.

We are selling clothes in an online store and a customer have added two different pants to their cart.

No discounts:

Article Category Brand Price Discounted Price
Purple party pants Pants Chic clothes cooperation 500 500
Soft sienna slacks Pants Amazing apparel association 1000 1000
Sum: 1500

 

Now our marketing departments adds a discount for 30% off on everything in the pants category, which of course affects both items in the cart.

30% off pants:

Article Category Brand Price Discounted Price
Purple party pants Pants Chic clothes cooperation 500 350
Soft sienna slacks Pants Amazing apparel association 1000 700
Sum: 1050

 

So far so good but then marketing wants to clear the warehouse of the "Chic clothes cooperation" and adds a discount of 50% to that brand.

30% off pants and 50% off brand:

Article Category Brand Price Discounted Price
Purple party pants Pants Chic clothes cooperation 500 175
Soft sienna slacks Pants Amazing apparel association 1000 700
Sum: 875

Now this is not what we wanted, the Purple party pants shouldn't get both discounts we just want it to have 50% since that is the highest discount.

(It gets a 65% discount since the result is: price*(1-0.3)*(1-0.5) = price*0.35)

 

Ok we see that discounts stacks and to counter that we add an exclusion on the two discounts in Episerver Marketing, we also make sure to set the priority of the "Chic clothes cooperation" discount higher than the other one so that the customer gets the best of the two discounts.

30% off pants and 50% off brand with exclusion:

Article Category Brand Price Discounted Price
Purple party pants Pants Chic clothes cooperation 500 250
Soft sienna slacks Pants Amazing apparel association 1000 1000
Sum: 1250

Great now we get the 50% discount on the Purple party pants, but wait! Compared to when we only had the discount for all pants the price on the cart has actually gone up with 200? The Soft sienna slacks now cost full price and doesn't get the 30% discount anymore, why is that?

The answer is that even thou our two discounts are both item level discounts the exclusion always operates on the order level.

 

Conclusion:

Exclusion only operates on the whole order/cart, it can't be used to avoid stacking discounts on a single item.

As a marketer, You have the following options:

  1. Accept the stacking and pay the price, the easy way :)
  2. Avoid creating overlapping promotions, easier said than done
  3. Create special promotions for the non-overlap, in our example this would mean a discount for pants of all other brands that isn't excluded, very hard to maintain
  4. Use the exclusion and try to handle the frustrated customers that are affected, bad for user experience

 

At times like these I am glad I am not a marketer. ;)

 

Disclaimer: all article and brand names are pure fictional and any similarity with existing articles and brands are fully accidental and unintentional.

Jun 01, 2017

Comments

Erik Norberg
Erik Norberg Dec 11, 2017 03:10 PM

Episerver have listened to our concerns and excluding different promotions can now be achieved on unit level and not just order level.

This new feature was introduced in Commerce version 11.3 and requires a small code change to use, details are here:

https://world.episerver.com/documentation/developer-guides/commerce/marketing/promotion-exclusions/

(We have tested and confirmed it works for our use cases and are live with it.)

Please login to comment.
Latest blogs
How to Add Multiple Authentication Providers to an Optimizely CMS 12 Site (Entra ID, Google, Facebook, and Local Identity)

Modern websites often need to let users sign in with their corporate account (Entra ID), their social identity (Google, Facebook), or a simple...

Francisco Quintanilla | Oct 22, 2025 |

Connecting the Dots Between Research and Specification to Implementation using NotebookLM

Overview As part of my day to day role as a solution architect I overlap with many clients, partners, solutions and technologies. I am often...

Scott Reed | Oct 22, 2025

MimeKit Vulnerability and EPiServer.CMS.Core Dependency Update

Hi everyone, We want to inform you about a critical security vulnerability affecting older versions of the EPiServer.CMS.Core  package due to its...

Bien Nguyen | Oct 21, 2025

Speeding Up Local Development with a Fake OpenID Authentication Handler

When working with OpenID authentication, local development often grinds to a halt waiting for identity servers, clients, and users to be configured...

Eric Herlitz | Oct 20, 2025 |

How Optimizely MCP Learns Your CMS (and Remembers It)

In Part 1, I introduced the “discovery-first” idea—an MCP that can plug into any SaaS CMS and learn how it’s structured on its own. This post gets...

Johnny Mullaney | Oct 20, 2025 |

Building a Custom Payment in Optimizely Commerce 14 (with a simple “Account” method)

This post outlines a simplified method for integrating Account payments into Commerce 14, detailing a minimal working path without extensive...

Francisco Quintanilla | Oct 17, 2025 |