Manage promotions with stacking rules

Stacking rules prevent shoppers from taking advantage of unintended synergy among your promotions by combining certain offers.

This section applies to both OSF and Storefront Classic. This section applies to Open Storefront Framework (OSF) and Storefront Classic.

This section includes the following topics:

Understand stacking rules

Each stacking rule includes a number of promotions that you want to treat as a group. Rules are intended to prevent simple combination strategies, for example to keep customers from combining buy one get one offers with gift-with-purchase offers. In this example, you could add all your buy one get one promotions to one stacking rule and all your gift-with-purchase promotions to another. Then you specify that the buy one get one stacking rule cannot be combined with the gift-with-purchase rule.

Stacking rules have the following behavior:

  • Each promotion can be associated with only one stacking rule. If a promotion is already part of a stacking rule and you add it to another, Commerce automatically removes it from the first rule.
  • Within a stacking rule, promotions are applied in order, based on their priority. See Understand promotions for more information about promotion priority.
  • If an order qualifies for more than one promotion, and those promotions are in mutually exclusive stacking rules, the promotion with the highest priority is applied, and all other promotions the order qualifies for are skipped.
  • In addition to stacking rules, each promotion’s exclusion rules allow you to define individual promotions that cannot be combined with it. Exclusion rules override stacking rules. For example, if Promotion A excludes Promotion B, those promotions cannot be combined, even if they are in the same stacking rule or stacking rules that combine with each other. See Exclude promotions for more information.
  • If a promotion has already been applied to an order and that promotion excludes another promotion, the excluded promotion cannot be re-included by any promotions that apply later in the pricing process.

Create stacking rules

To create a new stacking rule, follow these steps:

  1. On the Promotions page, click Stacking Rules.
  2. Click the New Rule button to display the details page for the rule.
  3. Enter a name for the new rule.
  4. Specify promotions to add to the rule.
    • Click Edit and select promotions to add to the rule. You can filter the list by typing or pasting some text in the Promotions box.

      The filter control matches letters or numbers that you type, wherever they appear in the name or ID, not just at the beginning. Usually, as you type more characters, there are fewer matches. When you see the item you want, select it.

    • Click Add Selected.
    • Click Done when you finish adding promotions to the rule.
  5. Specify the maximum number of promotions that can be applied to an order from this rule. The default value is Unlimited.

    If you specify a maximum number of promotions, Commerce evaluates the rule’s promotions in order, based on their priority. See Understand promotions for more information about promotion priority.

  6. Click the Create button.