Promotion Priority Best Practice

This document presents best practices for assigning priority values to different kinds of promotions.

Avoid Creating Promotions with Same Priority

Avoid assigning the same priority number to multiple promotions. If two promotions have the same priority, Promotion Engine randomly selects which of those promotion rules to apply first. In particular, avoid assigning the same priority to multiple promotions that apply to the same product, as you can't control which of the promotions would apply to the product. (This is due to order entry consumption, which prevents multiple discounts from applying to the same product; see Order Entry Consumption.)

Priority of Cart-Level Promotions

In most cases, you assign the lowest priority to any promotion rules that apply a percentage discount to the cart total (for example, 15% off the entire order). This ensures the percent discount on the cart is calculated after any product discounts. (If the percentage discount on the cart is calculated before the products in the cart are discounted, the cart discount is unnecessarily large.)

Example: You run three product promotions with priorities 500, 400, and 300. You also offer a discount of 10% off the entire order, with priority 100. The order discount promotion has the lowest priority, which ensures the 10% order discount applies after the product promotions.

This consideration does not apply to fixed discounts on the order total (for example, €10 off your order). If there’s a fixed discount on the cart, the order of promotion calculation does not affect the final cart discount amount.

Priority of Potential Promotion Rules

A potential promotion rule displays a message on the storefront when customers are close to qualifying for a promotion. For example, the potential promotion message can tell customers how much more they have to spend to get a discount.

There are some special considerations regarding priority and potential promotion messages.

For correct calculation, assign the potential promotion rule a lower priority value than all of your other promotions. This ensures Promotion Engine first applies any other applicable discounts to the cart, then uses the discounted cart total to calculate how much more the customer needs to spend.

In particular, ensure you assign a lower priority to the potential promotion rule than you assigned to the main promotion rule. The potential promotion rule contains a Rule executed condition that checks whether the main promotion is already applied to the cart. If the conditions of the main promotion are already met, the potential promotion does not fire. For this check to work correctly, Promotion Engine must evaluate the main promotion rule before it evaluates the potential promotion rule. Therefore, the potential promotion rule must have a lower priority.

Priority and Rule Groups

Rule groups determine which promotions apply to a cart. Priority affects how promotions in a rule group are evaluated, depending on whether the rule group is exclusive or non-exclusive:

  • In an exclusive rule group, only the promotion rule with the highest priority applies to the cart. All other promotion rules in that rule group are ignored.

  • In a non-exclusive rule group, all of the promotion rules apply to the cart, in order of priority (highest to lowest).

All applicable promotion rules are applied to the cart in order of promotion priority, regardless of the rule group that the promotion rules are in. As a result, promotion rules in a non-exclusive rule group don't necessarily apply one directly after another.

Example: You have two non-exclusive rule groups: group A and group B. Rule group A has promotion rules with priorities 500, 300, and 100. Rule group B has promotion rules with priorities 600, 400, and 200. The promotions apply to the cart in this order: 600, 500, 400, 300, 200, 100.