Table of contents
Product filters in WooCommerce are built on attributes (color, size, material), not categories — and implemented either with the built-in Product Filters block or with a plugin when you need price-range, stock availability or custom field filters. Well-designed filters cut the path to a product from several minutes to a dozen or so seconds. Poorly designed ones generate thousands of worthless URLs and slow down the store.
Thesis: beyond 200 products, filters matter more than the homepage
A store's homepage gets a fraction of the traffic — most customers land from Google directly on a category or product page. If a category has 300 items, customers won't scroll through them. They'll either filter or leave. In our projects, categories with well-designed filters have a noticeably higher click-through rate to product pages than the same categories before the rollout — we cover product page design separately in our article on a product page that sells.
Step 1. The foundation: attributes, not categories
This is the most common structural mistake. The store has categories like "Red Jackets," "Blue Jackets," and "Black Jackets" because someone wanted to "filter by color." The result: one product in three categories, duplicate content, and a messy menu.
| Element | What it's for | Example |
|---|---|---|
| Category | Hierarchy and navigation: "where is it?" | Clothing → Jackets → Winter |
| Global attribute | Filterable feature: "what is it like?" | Color, Size, Material, Brand |
| Tag | Cross-cutting label | New, Sale, Bestseller |
| Custom field | Non-standard technical feature | Power, Capacity, Compatibility |
The rule: a category answers “what am I looking for,” an attribute answers “what should it be like.” Attributes must be global (Products → Attributes), not created per product — otherwise you can't filter by them.
When migrating from an old store, cleaning up attributes is usually the biggest item in the schedule — more in our article on setting up WooCommerce step by step.
Step 2. Choosing the tool
| Solution | When it's enough | Limitations |
|---|---|---|
| Built-in Product Filters block (block themes) | Filters by attributes, price, rating, and availability; store using a block theme | Requires a block theme; fewer layout options |
| WooCommerce filter widgets (classic) | Simple stores using classic themes | Page reloads after every click |
| Dedicated plugins (AJAX filtering, custom fields, hierarchies) | Stores with 500+ products, filters by custom fields, dependencies between filters | License, additional scripts, requires index configuration |
| Custom solution | Unusual logic (e.g., a filter by compatibility with a device model) | Development cost |
The deciding question: do you need filtering by custom fields and dependencies between filters (choosing a brand narrows the list of models)? If not, start with the built-in solution. If so, use a plugin or custom code. We explain when custom code pays off in the context of custom solutions.
Step 3. Filter design — 8 rules from real projects
- No more than 6–8 visible filters — collapse the rest. A customer who sees 20 filters uses none of them.
- Order by frequency of use, not alphabetically. Check your analytics to see what people filter by.
- Counts next to values (“Red (14)”) — customers can see whether it's worth clicking.
- Hide values with zero results — a filter that leads to an empty list means an abandoned visit.
- Filtering without reloading the page (AJAX) — every full reload costs seconds and some of your customers.
- Visible active filters that can be removed with one click — above the list, not in the sidebar.
- On mobile: filters in a slide-out panel with a “Show X products” button — not a list at the top that pushes products off the screen.
- Price as a slider with input fields — a slider alone is imprecise on a phone.
Step 4. Filter SEO — where stores lose the most
Every filter combination is a separate URL: /kurtki/?kolor=czerwony&rozmiar=m&cena=100-300. With 6 filters of 10 values each, you get millions of URLs that Google tries to index. The result: crawl budget eaten up by junk, and your real categories indexed more slowly.
A three-layer solution:
- Canonical from every filtered page to the unfiltered category page — by default.
- Exception: valuable combinations (e.g., “kurtki zimowe damskie,” if people search for it) — a separate, indexable page with its own title and description, not a URL parameter.
robots.txtdoes not block filter parameters — blocking prevents Google from seeing the canonical. Instead: canonical + optionallynoindexon combinations of 3+ filters.
We cover the full context in our guide to e-commerce SEO.
Step 5. Performance
Filtering in a store with thousands of products puts a load on the database. Three things determine how well it performs:
- Filter index — good plugins build their own index table instead of searching product metadata on every click. Without it, response time grows linearly with the number of products.
- Result caching — the first filter query computes, subsequent ones read from cache.
- Load filter scripts only on category pages, not globally.
Symptom: clicking a filter takes more than a second. Diagnosis: check database queries in Tools → Site Health or with a profiling plugin.
The mistakes we see most often
- Filters based on local attributes instead of global ones — technically impossible to filter by.
- No "in stock" filter — the customer filters, clicks, and the product is unavailable.
- A price filter showing net prices in a B2C store.
- Filters reset after opening a product and going back — the customer has to start over.
- Filters loaded on the home page and in the cart — unnecessary kilobytes on every subpage.
If your store has categories where customers “get lost,” we’ll design the filters and attribute structure — and for larger catalogs, we start with an audit of what customers actually try to filter by.
FAQ — WooCommerce Product Filters
Yes. Block themes include the Product Filters block (attributes, price, rating, availability), and classic themes offer filter widgets. The built-in options don't support filtering by custom fields or dependencies between filters.
A category organizes products hierarchically (Clothing → Jackets), while an attribute describes a characteristic (Color: red). You filter by attributes; categories are for navigation. Mixing these roles leads to duplication and a messy structure.
They do if every combination is indexable — Google wastes crawl budget on thousands of worthless URLs. The solution is a canonical pointing to the category page, plus separate, indexable pages only for the combinations people actually search for.
Configuring the built-in filters takes a few hours. A plugin with AJAX filtering and custom fields means a license costing several hundred zlotys per year, plus setup and attribute cleanup — with a larger product range, that's often a dozen or so hours, because the problem is the data, not the tool.
Author: Adrian Kamiński — Websky Studio, Poznań. B2C and B2B WooCommerce stores — from attribute structure to filters with a custom index.
Your feedback
Was this article helpful?
One click — it helps me choose future topics.

