When more than one rule matches, two settings decide what happens: the Rule selection method at the top of the tab, and the select field in each rule's header (exclusivity). By default only the first matching rule applies, in the order the rules are listed. Choose Apply all applicable rules to combine rules.
What does the Rule selection method do?
It sits above the rules on the Product Pricing, Cart Discounts and Checkout Fees tabs. On the Product Pricing tab it works per cart item: each item can get a different rule.
| Option | Product Pricing | Cart Discounts | Checkout Fees |
|---|---|---|---|
| Apply all applicable rules | All matching rules, one after another | All matching discounts | All matching fees |
| Apply first applicable rule (default) | The first matching rule from the top | The first matching discount | The first matching fee |
| Smaller / bigger | Apply rule for smaller price, Apply rule for bigger price | Apply bigger discount, Apply smaller discount | Apply bigger fee, Apply smaller fee |
| All rules disabled | No product pricing rules apply | No cart discounts | No checkout fees |
"Apply rule for smaller price" picks, for each cart item, the rule that gives the lowest price, which is the best deal for the customer.
What does the select field in a rule's header do?
| Option | Group | Effect |
|---|---|---|
| Apply with other applicable rules (default for new rules) | Non-Exclusive | The rule takes part normally. |
| Apply this rule and disregard other rules | Exclusive (Exclusive - Per Cart Item on the Product Pricing tab) | If this rule matches, it is the only rule applied (to that item). If several such rules match, the first one wins. |
| Apply if other rules are not applicable | Exclusive | A fallback: applies only when no rule with another setting matches; if only fallback rules match, the first of them applies. |
| Disabled | Disabled | The rule is ignored. |
Pricepep decides in this order:
- If a matching rule is set to Apply this rule and disregard other rules, the first such rule is used alone.
- Otherwise, rules set to Apply if other rules are not applicable are dropped when any other rule matches. If only such rules match, the first of them is used.
- The Rule selection method then picks from the rules that are left.
Rules set to Exclude products from all rules or Restrict purchase of matched products have no header select: they apply wherever they are in the list, and stop only when the Rule selection method is All rules disabled.
In which order are rules checked?
From the top of the list down. Drag a rule by its handle to move it, then click Save Changes. Order matters with Apply first applicable rule, with exclusive rules, and for how product pricing adjustments stack.
Do discounts from several rules add up?
- Product pricing: with Apply all applicable rules, each rule adjusts the price the previous rule left. 10% and then 20% off $100: $100 → $90 → $72, so 28% in total (see do multiple percentage discounts stack up?). A fixed price rule followed by a percentage discount discounts the fixed price.
- Cart discounts: each applies as its own discount line (or one combined line, see cart discounts). WooCommerce calculates them like coupons.
- Checkout fees: each adds its own fee line, or one combined fee.
To cap the total, use Total limit at the top of the tab.
Do product pricing rules and cart discounts affect each other?
They are separate: a product can get a product pricing rule and the cart can still get a cart discount. The cart discount is then calculated on the already discounted prices. To prevent both, use the cart discount condition Any pricing rule applied (see avoid stacking discounts).
Examples
A general discount with exceptions. 10% off everything, but 25% off the Clearance category, and the two should not combine:
| Order | Rule | Header select |
|---|---|---|
| 1 | Simple adjustment, Product category in list Clearance, Percentage discount 25 | Apply this rule and disregard other rules |
| 2 | Simple adjustment, all products, Percentage discount 10 | Apply with other applicable rules |
Rule selection method: Apply all applicable rules. Clearance items get 25%, everything else 10%.
Wholesale price beats the sale. Wholesale customers get 30% off; everyone gets 10% off in a sale. Put the wholesale rule first and set it to Apply this rule and disregard other rules, or set the Rule selection method to Apply rule for smaller price so each item gets whichever is cheaper.
A fallback discount. "5% off if no other promotion applies": set that rule to Apply if other rules are not applicable.
Frequently asked questions
Why is only my first pricing rule applied?
The Rule selection method defaults to Apply first applicable rule. Change it to Apply all applicable rules at the top of the tab.
Do two percentage discounts add up?
Product pricing rules applied together compound: 10% and then 20% off 100 gives 72, not 70.
Can I give the customer only the best discount?
Yes. Set Rule selection method to Apply rule for smaller price (product pricing) or Apply bigger discount (cart discounts).