---
title: Rule selection method and discount limits
description: "Rule selection method, Total limit and Total limit value on the Product Pricing, Cart Discounts and Checkout Fees tabs: options, defaults, examples."
url: "https://pricepep.com/docs/rule-selection-and-limits/"
updated: "2026-12-02"
category: Settings
---

# Rule selection method and discount limits

At the top of the **Product Pricing**, **Cart Discounts** and **Checkout Fees** tabs in **WooCommerce > Pricepep**, three settings control all rules of that tab: **Rule selection method** (which rules apply when several match; default **Apply first applicable rule**), **Total limit** (a cap on discounts or fees; default no limit) and **Total limit value**.

## What does Rule selection method do?

It decides which rules apply when **two or more** rules match, after each rule's exclusivity setting ("Apply this rule and disregard other rules", "Apply if other rules are not applicable"). On the Product Pricing tab it works **per cart item**. A rule that is the only match always applies.

| Option | Product Pricing | Cart Discounts | Checkout Fees |
| --- | --- | --- | --- |
| Apply all applicable rules | All, one after another in list order (each on the price left by the previous rule) | All | All |
| Apply first applicable rule (default) | First in the list | First in the list | First in the list |
| Best / worst for the customer | 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 (also no Exclude or Restrict purchase rules) | No cart discounts | No fees |

Example: two product pricing rules match a $100 item, 10% off and 20% off. **Apply all applicable rules**: $72.00 (10% off, then 20% off $90). **Apply first applicable rule**: whichever is higher in the list. **Apply rule for smaller price**: $80.00.

Details and exclusivity: [how pricing rules combine](/docs/how-pricing-rules-combine/).

## Product Pricing tab settings

| Setting | Default | Options | What it does |
| --- | --- | --- | --- |
| **Rule selection method** | Apply first applicable rule | Apply All: Apply all applicable rules; Apply One - Per Cart Item: Apply first applicable rule, Apply rule for smaller price, Apply rule for bigger price; Disabled: All rules disabled | Which product pricing rules apply when 2 or more apply to the same cart item (after exclusivity): all of them one after another in list order, the first one in the list, the one giving the smaller or the bigger price; or all product pricing rules off (also turns off Exclude and Restrict purchase rules). |
| **Total limit** | No discount limit | No Limit: No discount limit; Price Discount Limit: Price discount limit $, Price discount limit %; Total Discount Limit: Total discount limit $ | Caps product pricing discounts: per unit as an amount ("Price discount limit $") or a percentage of the unit price ("Price discount limit %"), or for the whole cart ("Total discount limit $"). |
| **Total limit value** | empty | number | The amount or percentage for Total limit. Shown when a limit is selected. |

Option keys: `product_pricing_rule_selection_method`, `product_pricing_total_limit`, `product_pricing_total_limit_value`.

## Cart Discounts tab settings

| Setting | Default | Options | What it does |
| --- | --- | --- | --- |
| **Rule selection method** | Apply first applicable rule | Apply All: Apply all applicable rules; Apply One: Apply first applicable rule, Apply bigger discount, Apply smaller discount; Disabled: All rules disabled | Which cart discount rules apply when 2 or more apply: all, the first one in the list, the bigger or the smaller discount; or all cart discount rules off. |
| **Total limit** | No discount limit | No Limit: No discount limit; Total Limit: Total discount limit $, Total discount limit % | Caps the sum of cart discounts: an amount ("Total discount limit $") or a percentage of the cart subtotal ("Total discount limit %"). |
| **Total limit value** | empty | number | The amount or percentage for Total limit. |

Option keys: `cart_discounts_rule_selection_method`, `cart_discounts_total_limit`, `cart_discounts_total_limit_value`.

## Checkout Fees tab settings

| Setting | Default | Options | What it does |
| --- | --- | --- | --- |
| **Rule selection method** | Apply first applicable rule | Apply All: Apply all applicable rules; Apply One: Apply first applicable rule, Apply bigger fee, Apply smaller fee; Disabled: All rules disabled | Which checkout fee rules apply when 2 or more apply: all, the first one in the list, the bigger or the smaller fee; or all fee rules off. |
| **Total limit** | No fee limit | No Limit: No fee limit; Total Limit: Total fee limit $, Total fee limit % | Caps the sum of checkout fees: an amount ("Total fee limit $") or a percentage of the cart subtotal ("Total fee limit %"). |
| **Total limit value** | empty | number | The amount or percentage for Total limit. |

Option keys: `checkout_fees_rule_selection_method`, `checkout_fees_total_limit`, `checkout_fees_total_limit_value`.

## How do the limits work?

In the admin, the "$" in these labels is your store's currency symbol (for example "Total discount limit €").

| Limit | Tab | Caps |
| --- | --- | --- |
| Price discount limit $ | Product Pricing | The discount on each unit to an amount, across all product pricing rules |
| Price discount limit % | Product Pricing | The discount on each unit to a percentage of its price |
| Total discount limit $ | Product Pricing | All product pricing discounts in the cart together |
| Total discount limit $ | Cart Discounts | All cart discounts together |
| Total discount limit % | Cart Discounts | All cart discounts together, as a percentage of the cart subtotal |
| Total fee limit $ | Checkout Fees | All fees together |
| Total fee limit % | Checkout Fees | All fees together, as a percentage of the cart subtotal |

Example: Product Pricing with **Apply all applicable rules**, two rules giving 30% and 20% off a $100 item (normally $56.00), and **Price discount limit %** 40: the discount is capped at $40.00, so the item costs $60.00.

The **Price discount limit** (amount and %) caps each unit's price wherever prices are shown: on product pages, in shop prices, in [Your Price](/docs/your-price/), [Product Banners](/docs/product-banners/) and the [volume pricing table](/docs/volume-pricing-table/), and in the cart. The **Total discount limit** of the Product Pricing tab caps the whole cart, so it applies in the cart only: with it, a product page can show a lower price than the cart charges (see [prices shown vs charged](/docs/prices-shown-vs-charged/)).

A discount or fee that a limit reduces to zero is not shown.

Related: [settings reference](/docs/settings/), [product pricing rules](/docs/product-pricing/), [cart discounts](/docs/cart-discounts/), [checkout fees](/docs/checkout-fees/).

## Frequently asked questions

### Why is only one of my rules applied?

Rule selection method defaults to Apply first applicable rule. Choose Apply all applicable rules to combine them.

### How do I cap the total discount?

Set Total limit at the top of the tab (for example Total discount limit $ or Price discount limit %) and enter the Total limit value.

### Can I give customers only the best discount?

Yes: Apply rule for smaller price on the Product Pricing tab, Apply bigger discount on the Cart Discounts tab.

## Related articles

- [How multiple pricing rules combine in Pricepep](https://pricepep.com/docs/how-pricing-rules-combine/)
- [Pricepep settings reference](https://pricepep.com/docs/settings/)
- [Product pricing rules in WooCommerce: how they work](https://pricepep.com/docs/product-pricing/)
- [Cart discounts: automatic discounts in the WooCommerce cart](https://pricepep.com/docs/cart-discounts/)
- [Checkout fees: add surcharges in WooCommerce](https://pricepep.com/docs/checkout-fees/)

All articles in [Settings](https://pricepep.com/docs-category/settings/)
