Title: CatCode Smart Filter for WooCommerce
Author: CatCode
Published: <strong>15 ກັນຍາ 2026</strong>
Last modified: 23 ກັນຍາ 2026

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/catcode-smart-filter/assets/banner-772x250.png?rev=3698448)

![](https://ps.w.org/catcode-smart-filter/assets/icon-256x256.png?rev=3698448)

# CatCode Smart Filter for WooCommerce

 ໂດຍ [CatCode](https://profiles.wordpress.org/catcodestudio/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/catcode-smart-filter.1.0.3.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/catcode-smart-filter/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/catcode-smart-filter/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/catcode-smart-filter/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/catcode-smart-filter/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/catcode-smart-filter/)

## ຄຳອະທິບາຍ

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.
 * 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+

## ພາບໜ້າຈໍ

[⌊The filter block on a shop page⌉⌊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⌉[

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⌉[

Facets in the admin: source, widget, logic and order

[⌊The index tab⌉⌊The index tab⌉[

The index tab

## ການຕິດຕັ້ງ

 1. Upload the plugin folder to `/wp-content/plugins/catcode-smart-filter/`
 2. Activate it in the “Plugins” menu
 3. Go to WooCommerce  Smart Filter  Facets and import the attributes you want to filter
    by
 4. Open the “Index” tab and press “Rebuild the index” once
 5. Place the block: the “CatCode: Smart Filter” widget, or the `[catcode_filter]` 
    shortcode

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### The filter block does not appear

It renders only where a product listing does — the shop, a product category or tag
archive, and product search results. Check that a facet is imported and active, 
and that the index has been built at least once (WooCommerce  Smart Filter  Index).

### Clicking a value reloads the whole page

The AJAX swap needs to know which element holds the product grid. Most themes use`
ul.products`, which is the default; if yours does not, put its selector into “Product
grid selector” in the settings.

### The counts do not match the listing

Press “Rebuild the index”. A count and a listing can only disagree when the index
is behind the catalogue — after a bulk import that wrote to the database directly,
for example.

### Does it work with a page cache?

Yes. Filtered views carry a query string, so they are served fresh; the clean archive
stays cacheable. The counts have their own cache with a lifetime you set.

### Will Google index thousands of filter URLs?

No. A filtered view is `noindex,follow` with a canonical pointing at the clean archive.
Every filtered combination stays out of the index.

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“CatCode Smart Filter for WooCommerce” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້
ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ CatCode ](https://profiles.wordpress.org/catcodestudio/)

“CatCode Smart Filter for WooCommerce” ໄດ້ຖືກແປເປັນ 1 ພາສາທ້ອງຖິ່ນ. ຂໍຂອບໃຈ [ທີມງານຜູ້ແປ](https://translate.wordpress.org/projects/wp-plugins/catcode-smart-filter/contributors)
ສຳລັບການປະກອບສ່ວນຂອງເຂົາເຈົ້າ.

[ແປ “CatCode Smart Filter for WooCommerce” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/catcode-smart-filter)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/catcode-smart-filter/), 
ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/catcode-smart-filter/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/catcode-smart-filter/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/catcode-smart-filter/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.0.3

 * Fix: the facet screen labelled the column of value names and the value counts
   with the counting word (“values”), which also read as broken grammar in Ukrainian(“
   4 значень”). The column is now titled “Values”, and counts read as “Values: 7”
   and “products: 39”.

#### 1.0.2

 * Fix: after an AJAX filter every copy of the result count and the pagination is
   refreshed. Storefront prints them twice, above and below the product grid, and
   the lower pair kept showing the previous result (“Showing 1–12 of 25” with 2 
   products left).
 * Fix: the pagination comes back when a filter is removed after landing on a single
   page of results, and an empty result shows WooCommerce’s “No products were found”
   notice instead of a blank area. Before, a block missing on the page that was 
   open had nowhere to be swapped into.
 * Fix: a filter applied in the first two seconds after the page opened no longer
   gets its result count overwritten with the old one by WooCommerce’s own script.
 * Fix: changing the sort order after an AJAX filter keeps the filter. The sorting
   form used to keep the query string of the page as it was first opened.

#### 1.0.1

 * Fix: a term added to an attribute (or category, tag, brand) after its facet was
   imported now appears in the filter by itself. Before, the index only knew the
   values present at import time, so a new colour stayed invisible even after “Rebuild
   index”.
 * “Rebuild index” first picks up terms the facets do not know yet, and saving a
   product that carries such a term adds it on the spot.
 * “Import from catalogue” can be run again for an already imported attribute: it
   adds only the new values and keeps labels, colours and order set by hand.
 * A renamed term keeps its filter value (and URL); the label follows the new name
   unless it was changed by hand.
 * Merged values stay merged: products carrying a swallowed term keep landing on
   the merged value after they are saved or the index is rebuilt.
 * The “Last full build” time updates as soon as a rebuild finishes, without reloading
   the page.

#### 1.0.0

 * First release.

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.0.3**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **3 ຊົ່ວໂມງ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **ໜ້ອຍກວ່າ 10**
 *  ເວີຊັນ WordPress ** 6.2 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **7.1.2**
 *  ເວີຊັນ PHP ** 7.4 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/catcode-smart-filter/) ແລະ [Ukrainian](https://uk.wordpress.org/plugins/catcode-smart-filter/).
 *  [ແປເປັນພາສາຂອງເຈົ້າ](https://translate.wordpress.org/projects/wp-plugins/catcode-smart-filter)
 * ແທັກ
 * [attribute filter](https://lo.wordpress.org/plugins/tags/attribute-filter/)[faceted search](https://lo.wordpress.org/plugins/tags/faceted-search/)
   [price filter](https://lo.wordpress.org/plugins/tags/price-filter/)[product filter](https://lo.wordpress.org/plugins/tags/product-filter/)
   [woocommerce](https://lo.wordpress.org/plugins/tags/woocommerce/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/catcode-smart-filter/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/catcode-smart-filter/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](https://wordpress.org/support/plugin/catcode-smart-filter/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ CatCode ](https://profiles.wordpress.org/catcodestudio/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/catcode-smart-filter/)