---
title: Slow site with many pricing rules
description: "Speed up WooCommerce with many Pricepep rules: what makes pages slower, which settings cost most, how to restructure rules, and the 2.6 speed improvements."
url: "https://pricepep.com/docs/performance-many-rules/"
updated: "2026-12-02"
category: Troubleshooting
---

# Slow site with many pricing rules

Pricepep checks every active rule whenever it calculates a price, so many rules, heavy conditions and calculating shop prices for whole catalogs make pages slower. Update to 2.6, which made condition checks much faster, then reduce the number of rules and keep shop price display to simple adjustments.

## What changed in 2.6?

Among the changes in the [2.6 changelog](/docs/changelog/):

- Condition results are cached without encoding the whole cart. In a test with 90 rules and 10 cart items, the time Pricepep added to a shop page fell by about two thirds.
- Variations are loaded in bulk, and customer, order history and time conditions are checked once per page instead of once per variation. A test category page with 12 variable products went from about 1,000 database queries to about 150.
- The [Countdown Timer](/docs/countdown-timer/) loads its script and styles only on pages that print a timer, with the scripts at the end of the page, instead of in the head of every page.
- Product, variation and coupon searches in rule fields (such as **Product** and **Coupons applied**) list at most 50 results instead of loading every match, so stores with thousands of products or coupons no longer wait seconds per keystroke.
- With **Change display prices in shop** set to **Change - Include all adjustment types** and items in the cart, only products that a quantity, group, Buy x get x or Buy x get y rule can price are worked out with the cart again; the other products' shop prices come from the shop price cache, as with an empty cart. On the test site, a list of 40 products with 83 rules and an item in the cart took about 230 ms instead of about 280 ms, close to the 210 ms of an empty cart; the gain grows with the number of products on a page and the number of rules. Developers can restore the old behaviour with `add_filter('rp_wcdpd_shop_price_cache_per_product', '__return_false');` (see the [filter reference](/docs/filter-reference/)).

## What makes pages slower?

| Cause | Why | What to do |
| --- | --- | --- |
| **Change display prices in shop** = **Change - Include all adjustment types** | Every product price on a page is calculated by simulating an add to cart. Since 2.6.0, with items in the cart, only products that a quantity (**Bulk pricing**, **Tiered pricing**), **Group of products**, **Buy x get x** or **Buy x get y** rule can price are worked out with the cart on each page; the others come from the shop price cache, as with an empty cart. The cache is still skipped for every product when a rule has **Other** product conditions (**Cart item data**, **Coupons applied**), when **Total limit** is a **Total discount limit**, or when rules have cart, shipping address or (for logged-in customers) customer conditions | Use **Change - Include simple adjustments**, or **Do not change** for big catalogs ([what each shows](/docs/prices-shown-vs-charged/)) |
| Shipping address conditions in product pricing rules (since 2.6.0) | While any active product pricing rule has one, shop prices aren't cached for anyone: every product's shop price is calculated on each page view | Keep such rules few on large catalogs; for a discount by country, a cart discount needs no shop price ([prices by country](/docs/can-i-discount-based-on-the-customers-country/)) |
| One rule per product | Hundreds of rules are checked for every item | One rule per category, tag or attribute |
| Order history conditions | Past orders are looked up for the customer | Use them only in rules that need them |
| **Price adjustments to include** = **All applicable pricing rules & third-party adjustments** in the [volume table](/docs/volume-pricing-table/) | A calculation per quantity range | Use **First applicable volume pricing rule only** |
| Rules nobody uses | Still checked | Delete them, or set them to **Disabled** while you keep them for later |

## How do I restructure many rules?

- **Same discount for many products:** one rule with **Product category**, **Product tags** or **Product attributes** under **Products**, instead of a rule per product.
- **Different fixed prices per product:** that's what WooCommerce sale prices are for; schedule them in WooCommerce and keep Pricepep for conditional deals.
- **Role prices for many categories:** a percentage per role is one rule; a price per product isn't.

## What else helps?

- A page cache for guests (with the exclusions in [caching](/docs/caching/)).
- A persistent object cache from your host.
- Profiling a slow page with a plugin such as Query Monitor before and after a change. If Pricepep's share is large, send the details with a [bug report](/bug-report/).

## Frequently asked questions

### How many rules can Pricepep handle?

There's no fixed limit. What matters is how many rules each page must check and which settings make Pricepep calculate shop prices. Fewer, broader rules are faster than one rule per product.

### Is the settings page slower with many rules?

Yes, the rule editor takes a little longer to load with each additional rule.

## Related articles

- [Caching plugins and Pricepep prices](https://pricepep.com/docs/caching/)
- [Shop shows a different price than the cart](https://pricepep.com/docs/prices-shown-vs-charged/)
- [Product pricing rules in WooCommerce: how they work](https://pricepep.com/docs/product-pricing/)
- [Pricepep discount not applied? A checklist](https://pricepep.com/docs/discounts-not-applied/)
- [Can I import pricing rules from a CSV file?](https://pricepep.com/docs/can-i-import-pricing-rules-from-csv/)

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