Siftwren Product Filter
A WooCommerce product filter whose counts match the results, also when a variation is sold out.
Install in
Siftwren Product Filter is a filter for your WooCommerce shop page and for the product category, tag and brand pages. The number next to each value is how many products have that value, with everything else you have chosen already applied. A variation that is sold out is not counted as available for the attribute you chose.
What you get
- Filter sets. Build as many as you like. A set holds up to 30 filters, each on one of: category (shown as a tree), tag, brand (when your shop has WooCommerce’s brand taxonomy), any global product attribute, price, stock status or rating.
- Counts from the lookup tables. Each number is worked out from WooCommerce’s own lookup tables, per variation. Choose In stock and a variation that is sold out does not count for the attribute you chose; one on backorder counts as in stock, as in WooCommerce. WooCommerce checks each attribute on its own, so with Red and Large chosen, a product with a red variation in stock and a large variation in stock matches, even when its red Large is the one that is sold out. In a filter where several values mean any of them, the number leaves out that filter’s own choice, so it shows what a second value would add to the list. Counts can be shown or hidden for each filter, and values with no products can be hidden.
- No page reload. The product list, the result count, the sorting menu and the page links are swapped in place, and the address in the browser carries the filters. Without JavaScript the filter is an ordinary form and loads the page. If something does not fit your theme, the page loads instead of showing a half-drawn shop. A set can show an Apply button instead, so shoppers choose several values and filter once.
- Checkboxes, radio buttons, a dropdown, or a slider with two number fields for price. For attributes you choose whether several values mean any of them or all of them.
- Active filters as chips, each with a remove link, and a Clear all link that keeps the sort order.
- Three ways to place a set: the Siftwren Product Filter block, the shortcode
[siftwren_filter id="12"], and the Siftwren Filter widget in Elementor (Elementor 3.9 or newer). All three draw the same filter. - Search engines kept out of filter addresses. Filtered pages get noindex, follow, and the robots.txt that WordPress makes gets Disallow lines for the filter parameters. Both are on from the start and can be switched off.
- A phone-sized layout. Under 768 pixels the set folds behind a Filters button that shows how many filters are on.
- Safe. If a set cannot be drawn, it is left out and WooCommerce shows its own product list. Nothing is drawn at all on a page that is not a product archive.
- Light. The script and the style sheet load only on a page where a set is drawn, and a shopper’s visit writes nothing to your database.
What it does not do
- It filters the shop’s main product list only. Product lists with a query of their own, such as the
[products]shortcode, Elementor’s Products widget or a Loop Grid, are not filtered. - It does not filter on custom fields, SKUs or search text, and it does not create address forms such as /color-red/.
- It has no classic widget. In a widget area, use the block, or the shortcode in a Text widget.
Siftwren Pro
Siftwren Pro is a paid add-on that adds colour, image and label swatches, SEO pages for chosen filter combinations, and filters per category. You find it under Product Filters Settings Swatches & SEO pages, on the All filter sets screen, as a line you can hide in the filter set editor when your shop has attributes, and as a link on the Plugins screen. Everything in this plugin stays free.
External services
This plugin does not connect to any external service. It makes no requests to any outside server, and it loads no script, style sheet or font from one. The links in its admin screens to the plugin’s website and to the support forum are ordinary links that open only when you click them.
Written by Joobi from the project's own listing. See the source page
1.0.0
- First release.
Follow this listing's changes (Atom feed)