WooCommerce

Product filters in WooCommerce — how to design them so they sell, not just work

Text
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.

ElementWhat it's forExample
CategoryHierarchy and navigation: "where is it?"Clothing → Jackets → Winter
Global attributeFilterable feature: "what is it like?"Color, Size, Material, Brand
TagCross-cutting labelNew, Sale, Bestseller
Custom fieldNon-standard technical featurePower, 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

SolutionWhen it's enoughLimitations
Built-in Product Filters block (block themes)Filters by attributes, price, rating, and availability; store using a block themeRequires a block theme; fewer layout options
WooCommerce filter widgets (classic)Simple stores using classic themesPage reloads after every click
Dedicated plugins (AJAX filtering, custom fields, hierarchies)Stores with 500+ products, filters by custom fields, dependencies between filtersLicense, additional scripts, requires index configuration
Custom solutionUnusual 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

  1. No more than 6–8 visible filters — collapse the rest. A customer who sees 20 filters uses none of them.
  2. Order by frequency of use, not alphabetically. Check your analytics to see what people filter by.
  3. Counts next to values (“Red (14)”) — customers can see whether it's worth clicking.
  4. Hide values with zero results — a filter that leads to an empty list means an abandoned visit.
  5. Filtering without reloading the page (AJAX) — every full reload costs seconds and some of your customers.
  6. Visible active filters that can be removed with one click — above the list, not in the sidebar.
  7. 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.
  8. 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.txt does not block filter parameters — blocking prevents Google from seeing the canonical. Instead: canonical + optionally noindex on 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

Does WooCommerce have built-in 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.

What's the difference between an attribute and a category in WooCommerce?

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.

Do filters hurt SEO?

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.

How much does it cost to implement filters in a store?

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.

Share this article

Websky Newsletter

New posts straight to your inbox.

Once a month — practical insights on WordPress, WooCommerce, SEO and AI. No spam, unsubscribe with one click.

  • Case studies from Polish projects
  • Checklists and templates to download
  • Google and WordPress changes in a nutshell

Your data goes to Websky Studio only. You can unsubscribe with one click in every message.

WooCommerce store

Your store can sell more.

WooCommerce implementation and optimization: Przelewy24, InPost, BaseLinker, B2B price lists, and warehouse integrations. Quote within 24 hours of the brief.

Get a store quote