跳到内容

CatCode Smart Filter for WooCommerce

v1.1.1

CatCode · 2026年9月15日 上架

A faceted product filter that stays fast on a large catalogue: its own index table, honest counts and no reload on every click.

正在使用
10 以下
评分
暂无
累计下载
570
最近更新
2026年11月22日
需要 WordPress 6.2+已测试到 7.1.5PHP 7.4+

贡献者

截图

The filter block on a shop page
The filter block on a shop page
The mobile drawer with the "Show N products" button
The mobile drawer with the "Show N products" button
Facets in the admin: source, widget, logic and order
Facets in the admin: source, widget, logic and order
The index tab
The index tab

Most WooCommerce filters ask the database the same expensive question on every click — join the attribute tables, join the meta tables, count. On a catalogue of a few thousand products that question takes seconds, and the shopper leaves before the answer arrives.

This plugin keeps its own flat index of “which product carries which value”, rebuilt in the background and kept current by every product save. Filtering reads that one table, so the query cost stops growing with the number of attributes.

What it does

  • Facets from product attributes, from any product taxonomy (categories, tags, brands) and from a custom field.
  • Checkboxes, radio buttons, a select, a range slider or a toggle — per facet.
  • Variation-aware: a size or colour counts only while a variation in that size or colour can be bought, and two attributes picked together have to meet in one variation in stock. Orders, refunds, edits and CSV imports keep it current.
  • Price slider in the shop’s display currency, an “in stock / out of stock” facet and a rating facet.
  • Honest counts next to every value: a count tells you what you will get, and the value you already picked keeps showing its siblings instead of collapsing to itself.
  • Values with no products are hidden — or shown greyed out, if you prefer the shopper to see the whole range.
  • Numeric values sort as numbers: 1.5 / 2 / 10 / 12.5, not the alphabetical 1.5 / 10 / 12.5 / 2 every term-sorted filter shows.
  • Applying a filter does not reload the page: the listing and the filter block are swapped in place and the URL goes into the browser history, so Back works and the link can be copied and shared.
  • Mobile drawer with a “Show N products” button, so the count is visible before the tap.
  • Chips for what is currently applied, with a one-click reset.
  • Readable URLs: ?ccf=pa_color:червоний;p:100-2500 — one state has exactly one URL, so nothing turns into a duplicate.
  • Crawl control out of the box: a filtered view is noindex,follow with a canonical back to the clean archive, and the shop keeps its crawl budget.
  • Placement as a widget or through the [catcode_filter] shortcode.
  • Works with the theme’s own product grid — the swapped selector is a setting, ul.products by default.
  • Merging duplicate values: 12 В, 12в and 12 V become one checkbox while the products keep their own terms.
  • As many facets as your catalogue needs — nothing here is capped or time-limited.
  • HPOS (custom order tables) compatible.

Requirements

  • WooCommerce 6.0 or newer
  • WordPress 6.2 or newer
  • PHP 7.4+

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums