Get in touch
  • WordPress
  • Sales and conversion
  • v1.0.0

Catalog Sort Rules for WooCommerce — its own product sorting for every category, brand and tag

Its own sorting for every category, brand and tag: newest, best sellers, price, rating, name; subcategories inherit the rule. Pro: manual order, pinned products, out-of-stock products at the end.

Download Free
Pro · one-year licence The more sites, the less each one costs
Compatibility
WordPress 6.2+ · WooCommerce 7.0+ (tested on WordPress 7.1 and WooCommerce 11.2) · PHP 7.4+ (full run on PHP 8.3) · HPOS · Storefront and Twenty Twenty-Five · Polylang
Licence
one site, annual
Trial
7 days, no card, one per site
Updated
October 2026
Or all 173 Pro modules with All Access — 4 990 ₴ / year

What Free has,
and what Pro adds

The free version works with no time limit. Pro adds the rest of the features in the table.

Feature Free Pro
A default sorting of its own for every category, brand and tag: newest, best sellers, rating, price low to high or high to low, name A–Z or Z–A, the default WooCommerce order ✔ ✔
A subcategory without a rule of its own takes the rule of the nearest parent (can be switched off) ✔ ✔
Shoppers keep the choice: "Sort by" shows the page rule as selected and another sorting can be picked; for name A–Z / Z–A the entry is added to the list ✔ ✔
WooCommerce brands (core since 9.6), tags, taxonomies of brand plugins and attributes with archives ✔ ✔
A field on the category screen, a "Sorting" column in the lists, a list of all pages with rules ✔ ✔
The shop page, search and categories without a rule stay as they are; products are not changed, no custom tables ✔ ✔
Pagination, result count, filters (including Smart Filter), classic and block themes, Polylang ✔ ✔
Page cache cleared after a rule changes (WP Super Cache, W3 Total Cache, WP Rocket, LiteSpeed, WP Fastest Cache and more) ✔ ✔
Interface: English, Ukrainian, Russian ✔ ✔
Manual product order by drag and drop and with "Move up / Move down / To the top" buttons; a subcategory inherits the order of its parent — ✔
Pinned products (up to 50) open the first page whatever the rule — ✔
Out-of-stock products at the end of every category, brand and tag page — ✔
Updates from catcode.com.ua in Dashboard → Updates — ✔

What it looks like

WooCommerce category with its own price sorting and pinned products
Storefront theme: the Shirts subcategory inherited the “price: low to high” rule from Clothing, two products are pinned to the top (Pro), the sorting list shows the rule as selected.
The "Product sorting on this page" field on the WooCommerce category edit screen
Edit screen of the Shirts subcategory: the empty value shows which rule it takes from the parent Clothing.
Manual order of WooCommerce category products and pinned products — the "Arrange and pin" tab
Pro: manual order of the category products by drag and drop, and pinned products that open the first page.

The trial starts when you ask

A fresh install is the free version, nothing switches on by itself. The “Try Pro for 7 days” button → e-mail → the key right in the window and by e-mail.

One key — one site

Moving the store? Unbind the licence on the old domain and activate it on the new one yourself. For studios — keys for 5 or 25 sites, or unlimited.

Technical requirements

  • WordPress 6.2+ · WooCommerce 7.0+ · PHP 7.4+; compatibility with HPOS and the block checkout is declared (the plugin does not touch orders).
  • Themes: classic (tested on Storefront) and block themes (Twenty Twenty-Five — the catalogue template with the Product Collection block in “inherit query” mode and the Catalog Sorting block).
  • Filters: tested together with Smart Filter for WooCommerce — with and without a filter, with AJAX filtering, on category and brand pages.
  • Multilingual: tested with Polylang and Polylang Multilingual Shop — every translation of a category has its own rule.
  • Interface languages: English, Ukrainian, Russian.

Version history

v1.0.0 Current October 2026

A sorting rule for every category, brand and tag, inheritance by subcategories, the “Sorting” column, the list of rules, page cache clearing after changes; English, Ukrainian, Russian.

Frequently bought with Catalog Sort Rules for WooCommerce

4 modules in one order — 40% cheaper than separately

“Store starter” bundle Catalog Sort Rules Nova Poshta Premium Mono Acquiring Telegram notifications and Viber/SMS for customers Need more — all 173 modules in All Access for 4 990 ₴.
2 490 ₴ / year instead of 4 160 UAH bought separately
Buy the bundle →

Full module description

Catalog Sort Rules for WooCommerce gives every product category, brand and tag its own default sorting. WooCommerce has one for the whole catalogue: if the settings say “by popularity”, then “New arrivals”, “Sale” and every brand page all open by popularity. A shop usually wants something else — new arrivals starting with the newest products, a sale with the cheapest, a brand with its best sellers.

The plugin handles this at the level of the category itself: the edit screen of a category, brand or tag gets a “Product sorting on this page” field. A subcategory without a rule of its own takes the rule of the nearest parent, so one rule on “Clothing” covers all of its subcategories. Shoppers lose nothing: the “Sort by” list stays, shows the page rule as selected, and a shopper can pick another sorting.

There is a separate version for OpenCart — Catalog Sort Rules for OpenCart.

What the shopper sees

A shopper opens a category and sees the products in the order you chose for it: “New arrivals” starting with the newest, “Sale” with the cheapest, a brand page with its best sellers. The matching entry is already selected in the “Sort by” list, so nothing looks odd: if the rule is “by name”, the plugin adds a “Sort by name: A to Z” or “Z to A” entry, which WooCommerce does not have.

A shopper can pick another sorting in the list and gets exactly that. Pagination, the result count, filters and layered navigation work as before: only the order changes, not the set of products. The shop page, search and categories without a rule keep the sorting from the WooCommerce settings.

What the admin gets

  • A field on the category, brand and tag screen — “Product sorting on this page”: the default WooCommerce order, newest, best sellers, highest rated, price low to high or high to low, name A–Z or Z–A. For a subcategory the empty value says which rule it inherits and from where.
  • A “Sorting” column in the category, brand and tag lists — marked “(from the parent)” for inherited rules.
  • WooCommerce → Catalog Sort Rules — all pages with their own sorting in one table, plus the settings: which taxonomies have rules and whether subcategories inherit them.
  • Brands — the WooCommerce brand taxonomy (in core since 9.6); taxonomies of brand plugins and attributes with archive pages are switched on in the settings.
  • Pro: the “Arrange and pin” tab — page search, the list of its products, drag and drop with the mouse, “Move up”, “Move down” and “To the top” buttons (handy on a phone), a “Pin” tick box.

How it works, step by step

  1. Open Products → Categories (or Brands, Tags) and the category you want to set up.
  2. In the “Product sorting on this page” field choose a rule, for example “Newest first”, and save.
  3. Open the category on the site: the products are already in the new order and “Sort by” has sorting by latest selected. Subcategories without a rule of their own are sorted the same way.
  4. Pro: “Arrange products” in the category row opens the list of its products. Drag the products into the order you want and choose the “Manual order” rule — or tick “Pin” on the products that must come first whatever the rule.
  5. If the site runs a page caching plugin, there is nothing to clear: after a rule, an order or pins are saved, the plugin clears the page cache itself (WP Super Cache, W3 Total Cache, WP Rocket, LiteSpeed Cache, WP Fastest Cache, WP-Optimize, Cache Enabler, Breeze, SiteGround Speed Optimizer, Nginx Helper).

Under the hood

  • A rule is WooCommerce’s own sorting. The plugin answers the woocommerce_default_catalog_orderby filter only on pages that have a rule, so the query, the “Sort by” list, themes and filters work the same as on the shop page.
  • The manual order and pins (Pro) are added at the start of the ORDER BY of the main archive query; WHERE is not changed — pagination, the result count and filters see the same set of products, with no duplicates across pages.
  • Out-of-stock products at the end (Pro) — through the WooCommerce wc_product_meta_lookup table, with no query per product.
  • No custom tables: rules and order are stored in the meta of categories, brands and tags; the plugin does not change products.
  • Deleting the plugin removes its settings, rules, order, pins and its cron job.

Installation

  1. Plugins → Add New → Upload Plugin: choose the zip and activate it (WooCommerce must be active).
  2. Products → Categories → pick a category → “Product sorting on this page” → Update.
  3. WooCommerce → Catalog Sort Rules — the list of pages with rules and the settings.
  4. For Pro: the “Pro licence” tab — paste the key from the e-mail or click “Try Pro for 7 days”.

Questions
about the module

Didn't find the answer? Message us on Telegram and we'll reply within a business day.

@catcode_support Setup, compatibility, activation
Will this change the shop page?

No. The shop page, search and categories without a rule keep the sorting from the WooCommerce settings.

Can shoppers still sort by price?

Yes. The "Sort by" list stays; the rule only decides what is selected in it when the page opens.

Do pinned products apply when a shopper picks another sorting?

No, on purpose: the shopper gets the order they picked. Pins and the manual order apply to the page's own sorting.

Do I need to clear the cache after changing a rule?

No, the plugin clears the page cache of popular caching plugins after a rule, an order or pins are saved.

What happens after the trial?

The manual order and the pins stay saved, and the pages are sorted by their rules until a licence is active.

Not quite what you are looking for?

We build custom modules for WordPress, WooCommerce, OpenCart and Shopify. Tell us about the task and we'll prepare an estimate.

Order a custom module