Contact
How Discounts Work / Stacking rules and priority
  1. Home
  2. Dynamic Discount Rules for WooCommerce
  3. How Discounts Work
  4. Stacking rules and priority
How Discounts Work

Stacking rules and priority

1 min readUpdated Nov 7, 2026

Several rules can match the same product. The Rule Combination Mode setting decides what happens.

Stack all rules

  • For an item price, the discounts of all matching rules are added together, each worked out on the regular price. The total is never more than the regular price.
  • For discount lines in the totals, rules are added in priority order. The total of all discount lines is never more than the cart subtotal minus coupon discounts. A rule that would go over that limit is reduced, and later rules are dropped.

Highest discount only

  • For each item, only the matching rule with the largest discount is used.
  • For discount lines in the totals, only the single largest line is kept. The payment bonus of a rule counts as its own line in that comparison, so in this mode the bonus and a larger base discount do not both appear as separate lines.

What priority does

Rules are checked in order of Priority, lowest number first (default 10). In the code, priority decides the order in which discount lines are added when stacking, and which rule is read first. It does not make one rule cancel another. To make one rule win, use Highest discount only mode or narrow the rules with exclusions and conditions.

WooCommerce coupons

Coupons still work. The plugin only uses the coupon discount to make sure its own discount lines never take the cart below zero.

Example

Rule A gives 10% off all products. Rule B gives 5% off one category. A product of 100 in that category costs 85 in Stack mode, and 90 in Highest discount only mode.