CodeBold
Commerce
000
Product / Smart Filters

Let them find
the thing they
came for.

A shopper who cannot narrow a hundred kurtas down to their size in indigo does not browse a hundred kurtas. They leave. Filters are not a nicety on a catalogue with variants.

01 / What it filters

Attributes,
price, stock.

Attributes

Whatever the product has

Size, colour, fabric, brand, fit. Taken from the product's own attributes, so the filter and the catalogue cannot disagree.

Price

A range, not a guess

Bounded by what is actually in the category, so the slider never offers a range with nothing in it.

Availability

In stock only

One tick that removes everything the shopper cannot buy today — which, on a shop with a real stockroom behind it, is a figure worth trusting.

02 / On a phone

Behind a
Filter button.

Most filter plugins stack every option down the page and push the products below the fold. On a phone that is the whole first screen spent on controls the shopper has not asked for yet.

Here they sit behind one button. Tap it, choose, apply, and the panel gets out of the way.

Nothing to reindex

Filtering runs against WooCommerce's own product queries. There is no parallel index to rebuild, so there is nothing to go stale after an import.

New attributes appear on their own

Add a size to a product and it is in the filter. No second list to maintain, which is the usual reason a filter quietly stops matching the catalogue.

Widget or block

Drop it in the sidebar or above the grid. It inherits the theme's type and spacing rather than importing a design of its own.

03 / Questions

About Smart
Filters.

Do I have to configure the sizes?
No. Filters are built from the product’s own attributes, so a size you add to a product turns up in the filter on its own. There is no second list to keep in step with the first.
What happens on a phone?
The filters go behind a Filter button rather than eating the top third of every category page. Tapping it opens the panel; applying it closes it and shows the results.
Does it slow the shop down?
Filtering runs against WooCommerce’s own product queries rather than a parallel index that has to be rebuilt. Nothing to reindex means nothing to go stale.
Does it work with my theme?
It renders into the sidebar or above the grid as a widget or block, so it inherits the theme’s own type and spacing. A theme with unusual archive markup may need a little CSS. TODO: list the themes tested

Free on WordPress.org.
Works on its own.

Smart Filters does not need the till or the stockroom. It is simply better with a stock figure worth filtering on.