Blog

Product filters on your store: data, facet order and protection from bots

September 30, 2026 · Veera Team

Product filters on a store work when three conditions are met. Attribute values are picked from a list or stored as a number in one unit; otherwise “1 TB” and “1000 GB” become two separate checkboxes. A category shows only the filters that actually split its products, in the order shoppers choose them. And bots can’t crawl every combination: on our own store, with under 400 products and five filters, bots hit 76,577 different URLs in a day and took the server down.

How a facet differs from a plain filter

A plain filter is a set of checkboxes that know nothing about each other. A shopper ticks a brand, then a screen size, and gets an empty page: that combination doesn’t exist in the catalog, and the filter gave no warning.

A facet counts. Next to each value is the number of products that will remain after you pick it, and values with zero are grayed out. Facets on a category page are called faceted navigation; the same facets on search results are called faceted search.

Values of one attribute combine with OR, different attributes with AND: red or blue, and size M. This is where home-grown filters go wrong. The counts for color must be calculated on the results with every selected filter except color itself. If you include it, then after a click on “Red” every other color drops to zero and the shopper can’t pick a second one.

Most platforms have this built in. On WooCommerce, filters are built from global product attributes; we cover how its search and filters behave in the article on WooCommerce search.

You can’t filter a free-text attribute

A facet is built from data, and the first problem is an attribute stored as free text. Text has no finite set of values, so you can’t build counts on it. CS-Cart, for example, doesn’t even offer text features when you create a filter.

On a copy of the Plaza.hu marketplace catalog in September 2026, we found that almost all attributes had been created by vendors themselves, nearly all as free text. Many products had a brand filled in, but the brand filter saw only a small fraction of them: the rest of the brands lived in each vendor’s own attributes. The whole catalog had just three filters. Once the brands were merged into one marketplace-level attribute with a list of values, the brand filter started working on a large part of the catalog.

It also happens the other way round: one name, several attributes underneath. “Méret” (Hungarian for “size”) collected a huge number of values in thousands of spellings across Plaza’s vendors. Under one word lived letter sizes for clothing, kids’ height and age, shoe sizes, dimensions like “55 x 55 x 37 cm”, hooks, milliliters and the A4 paper format. A “Size” filter with thousands of values helps nobody, so it was split into three: clothing, kids, shoes. The dimensions were left alone. The cards don’t say in which order a vendor writes width, depth and height, and picking an axis at random would mean making up data.

The most frustrating case is mixed units: the product exists, the value is filled in, and the filter still doesn’t show it. In one electronics catalog, storage capacity is written as “1 TB”, “1000 GB” and “1Tb”. In the filter these are three different values: a shopper ticks “1 TB” and doesn’t see the products written the other two ways. A slider is even worse. If one scale mixes centimeters and millimeters, a 60 cm shelf ends up “smaller” than a 100 mm one.

You can check your own catalog in an evening. Export your attributes with two numbers each: how many products have it, and how many distinct values it has. If the number of values is close to the number of products, you’re looking at text: a description, an SKU or dimensions in one string. The Veera search window treats an attribute as text when distinct values exceed 80% of the product count, and doesn’t offer it as a filter. Letters in the values of a numeric attribute mean mixed units. The cure is always the same: store the number as a number and set the unit once, for the whole attribute.

Empty attributes can be filled in from names and descriptions, including with a language model. In a pilot on the same marketplace catalog, across lawn mowers, air conditioners, vacuum cleaners, fireplaces and washing machines, the power source of lawn mowers went from known for a minority of products to known for the large majority, and the cooling capacity of split air conditioners went from almost never filled in to almost always.

A model is wrong with full confidence, so a value was accepted only with a verbatim quote from the product text. Most values passed. The rest were rejected, mostly because the quote didn’t contain the confirming word, and a few because the number didn’t match the quote: for example, 6.0 when the description said “6.2 kW”.

Which filters to show in a category, and in what order

Your store’s search queries tell you the order. Whatever people add to a product name is their filter: in “ssd 1tb” it’s capacity, in “under $50” it’s price, in “red” it’s color, in “samsung” it’s brand. What they add most often goes highest.

Attach a filter only to categories where it actually splits something. On Plaza, an attribute with a filter was attached to a category only if enough products in that category had a value. “Típus” (type) meant different things to different vendors: the kind of phone case, an original versus a compatible cartridge, how a mouse connects. So one marketplace attribute was attached only to a set of homogeneous categories. In a leaf category the facet shows that category’s values; one level up, it isn’t there at all.

Hide empty filter blocks. This is easy to forget during an update, and we forgot it ourselves. In September 2026, version 2.0 of our CS-Cart search add-on lost one check: “the filter has no values, don’t show it”. On a copy of a store, a category page grew to hundreds of filter blocks, nearly all of them empty: a heading and not a single value. The page became several times taller and the HTML got noticeably heavier. The same URL on the live store with the old version showed nine filters, and the comparison pointed straight at the add-on.

The bug never reached shoppers. The check takes a minute: open two or three categories before and after an update and compare the number of filter blocks. When that store moved to the new version, its filter blocks stayed exactly as they were.

Filters in search results: category first

A category knows which attributes its products have. Search results don’t: the query “laptop” brings in laptops, bags, batteries and memory. Filters from all those categories in one column won’t help anyone.

So in search results, the first facet is the category. In an electronics store, the query “laptop” can bring in hundreds of products, and the search window splits them into groups right away: laptops, bags and cases, batteries, memory modules, power supplies, docking stations and stands. The shopper picks a group, and from there needs the filters of one category.

Shoppers also type some filters straight into the search box: “samsung tv over $500”, “red dress under $50”. With Understand the phrase turned on in Veera, the search window turns price and brand into filters, while color only lifts red products higher in the results (their score is multiplied by 3). We don’t make color a hard filter: not every product has it filled in, and a filter would throw out dresses that are missing the attribute.

Attribute facets in the window show values with counts, and numbers get “from” and “to” fields. The store chooses which attributes to show and in what order; if it doesn’t, the window shows the best-filled ones. How to set this up is described in the search settings.

SEO pages for filters: open the demand, close the crawl

Every combination of filters has its own URL, so product filters create more URLs than the catalog has products. A page like “nike running shoes men” can bring traffic if people actually search for it. A page with five filters, a sort order and page three of pagination brings nothing and only wastes the crawler’s time.

Google’s guide to faceted navigation (updated December 18, 2025) recommends the following. If you don’t need filter URLs in search, block them in robots.txt. If you do, keep the parameters in a consistent order, separate them with the standard “&”, and return a 404 for combinations with no products. A canonical tag, according to the same guide, reduces crawling only over time, and nofollow works only if it’s on every link to the URL.

We saw what an index looks like without these limits on our own add-on store. The sitemap generator added every single and paired combination of filters: 7 editions × 25 versions, 175 URLs per category. Most of the sitemap ended up being filter pages, and search engine crawlers kept coming back to junk combinations they had already indexed, with most of those requests ending in a 404.

We removed the combinations from the sitemap, leaving only categories and products. Filter pages got a canonical tag pointing to the parent category, and search engine crawlers now get a 410 on deep combinations: a direct signal that the URL is gone for good.

The working rule: index combinations of one or two filters that have real search demand (check Google Search Console or your keyword tool), with their own heading and text. Close everything deeper.

How bots crawl filters and take a server down

You can reach an agreement with search engines. Bots are harder. On August 11, 2026, our add-on store stopped responding. In one day it got 182,469 requests to 76,577 different URLs, almost all of them pages with three to six filters at once. Real shoppers don’t browse like that. Of the 17,396 requests per hour that reached PHP, 77 got a normal response, or 0.4%. Load on the eight-core server held around 42.

The cost comes from the database. Every such page ran a query that concatenated attribute values across the whole table and searched the resulting string (GROUP_CONCAT and FIND_IN_SET). Indexes don’t work on a query like that, and each call creates a temporary table. The server won’t notice one such query. Fifteen thousand an hour pushed MySQL to 225% CPU. Caching didn’t help: each URL was requested 2.4 times on average, so there was nothing to hit in the cache.

The usual measures failed. robots.txt had blocked filter parameters for a long time, but a botnet doesn’t read it. The requests came from 123,944 IP addresses, about one and a half requests each, many of them residential and mobile proxies: per-IP rate limiting and fail2ban are useless against that. The old nginx rules, by User-Agent and by path depth of eight segments or more, blocked 63% of requests, and the bot moved to just inside their edges: depth four to seven, one or two filter values. It was the second time it had adapted to our rules.

What worked were rules based on the shape of the URL, independent of IP or User-Agent:

  • a path of four segments or more, meaning a category plus three or more filters;
  • two or more values in the filter parameter;
  • a sort order or a page-size parameter without the session cookie a real visitor always has.

Search engine crawlers get a 410 on such URLs; everyone else gets the connection closed. The rules alone wouldn’t have been enough without a second fix: we had to cap PHP execution time. PHP processes had been waiting up to 90 minutes for the database to answer requests whose visitors had long gone. After both fixes, load fell from 42.15 to 0.20, MySQL went from 4,352 queries per second to 20, and the home page opened in 2 seconds.

A month later a trap surfaced. The rule about sorting without a cookie cut off product search in the admin panel: the admin cookie has a different name, and the rule took a store manager for a bot. After adding rules like these, test the admin too.

What to check in your own filters

What How to check Warning sign
Attributes export them with counts: how many products and how many distinct values distinct values exceed 80% of the product count
Units look through the values of numeric attributes “1 TB”, “1000 GB” and “1Tb” in one list; letters inside numbers
Filter column open two or three large categories before and after an update empty blocks; the number of blocks changed
Sitemap count the filter page URLs there are more of them than categories and products combined
Server logs for a day distinct filter URLs and response codes orders of magnitude more URLs than products; search engines get 404s on filters

When Veera search won’t help

Category filters, SEO pages for filters and bot protection are jobs for the platform and the server. The Veera Connector for CS-Cart leaves category filters native. The cloud takes catalog data as is: “1 TB” and “1000 GB” stay two values, and a free-text attribute won’t become a filter. If your store has a couple of hundred products in a dozen categories, the platform’s own filters, set up by the rules above, are enough.

Veera adds filters where platforms usually don’t have them: in the search window. There you get facets with counts, “from” and “to” for numbers, groups by category and brand, and filters taken from the query text. The WooCommerce plugin also has facets on the results page. Everything else search can do is on the Veera Search page.

Frequently asked questions

What is faceted search? Search whose results you can narrow down by attributes, with a count next to each value showing how many products will remain. Faceted navigation is the same thing on a catalog category page.

Should filter pages be indexed? Only the ones with demand: combinations of one or two filters, like “nike running shoes men”, with their own heading and text. Block the rest in robots.txt, and return a 404 for combinations with no products.

Why doesn’t the filter show all products? Look at the data first. Some products may have the attribute empty or written differently: “1Tb” instead of “1 TB”. Merge the spellings into one value and fill in the gaps from descriptions.


Start with your largest category: that’s where the table above will show the most. You can test facets in the Veera search window on your own catalog: 30 days free.

Test search on your own catalog

30 days free, no card required.

Start a 30-day free trial