Skip to content
Magento 2 module · $99 one-offShopify-style smart collections

Categories that fill themselves.

Shopify-style smart collections for Magento 2. Flag a category as smart, describe its products with a rule such as "Price greater than 100 AND Colour is Blue", and the module keeps the product list in line with that rule. Products are added when they start to match and removed when they stop.

See how it works
$99
USD, one-off
ALL / ANY
nested rule groups
PHP 8.1+
tested on PHP 8.4
Nightly
full recheck
Spec sheetMagento 2.4.xMage-OS 3.5PHP 8.1 – 8.4Page BuilderCronMessage queueComposerPackagist
Smart Categories

Write the rule once.
Stop re-merchandising.

When a price or attribute changes, products join or leave the category on their own. Categories you don’t flag as smart are never touched.

What it doesEverything in the box$99 one-off · all 6 included

Rules in the category form

A Smart Rules section on the category form, with the same condition builder Magento uses for the Products List widget. Combine conditions with ALL or ANY.

Products in, products out

Matching products are assigned and the rest are removed, including any added by hand that do not match. Categories that are not flagged as smart are never touched.

Fast saves

Saving a category or product queues the work on the message queue, so saves in the admin stay fast.

Nightly full check

Every smart category is rechecked each night to catch changes made by imports and bulk updates. The schedule is configurable.

Recompute on demand

A console command recomputes one category, or every smart category, whenever you need it.

Ordinary categories underneath

Assignments are written to the standard category product table, so layered navigation, sorting, indexers and your theme work as they do for any category.

In the Magento adminScreenshots from a real storeCatalog › Categories › Smart Rules

Write the rule. The category does the rest.

Open a category, switch Smart Rules on and describe the products you want, in the same condition builder Magento uses for the Products List widget.

Smart Rules section on the Magento category form with a Price condition and a Color condition
Adding a condition in the Smart Rules conditions builder
Add a condition. Pick an attribute, an operator and a value. Nest groups to mix ALL and ANY.
Products in Category grid listing the products assigned by the rule
Products in category. Matching products land in the standard category product list.
03 · Getting started

Your first smart category, in four steps.

$ composer require upturnstudio/module-smart-categories
$ bin/magento setup:upgrade
Smart Rules added to the category form
  1. Step 1

    Open a category

    Go to Catalog → Categories and open the category you want to automate.

  2. Step 2

    Switch Smart Rules on

    Expand the Smart Rules section and turn Enable smart rules on.

  3. Step 3

    Describe the products

    Add conditions on price, colour, SKU, attribute set or any other product attribute, combined with ALL or ANY.

  4. Step 4

    Save

    The category fills in the background, usually within a minute or two, and stays in step from then on.

04 · Before you buy

What you need, and what it won’t do.

Every module lists its limitations up front, so there are no surprises after install.

Requirements

Magento 2 or Mage-OS
PHP 8.1 to 8.4 (tested on Mage-OS 3.5.0 with PHP 8.4)
Magento_PageBuilder enabled
Cron running

Known limitations

ANY rules can miss products. A product with no value for one of the attributes in an ANY rule is left out, even when it matches another condition. ALL rules are not affected.
Hidden and disabled products are assigned. Products set to "Not Visible Individually" can match a rule, so the product count in the admin can be higher than on the storefront.
Rules use default store values only. Store view overrides are ignored.
The storefront can lag behind the admin. With indexers set to "Update by Schedule", the storefront changes on the next indexer cron run.
From the blog

Shopify has smart collections. Now Magento does too.

Why I built it, how the rules are evaluated, and where it keeps to Magento’s own tables so nothing else on the store has to change.

Read the post
FAQ

Questions, answered straight.

What happens to products I added by hand?

In a smart category, the rule decides. Products that match are assigned and the rest are removed, including any added by hand that don’t match.

Will it touch my other categories?

No. Only categories you flag as smart are managed. Every other category works exactly as it does now.

How quickly do changes show up?

Saves queue the work on the message queue, so a category usually updates within a minute or two. With indexers on Update by Schedule, the storefront follows on the next indexer cron run.

Which Magento versions are supported?

Magento 2 and Mage-OS on PHP 8.1 to 8.4, tested on Mage-OS 3.5.0 with PHP 8.4. It needs Page Builder enabled and cron running.

Let the rules do the merchandising.

Pay once, get an account with the install commands and the full setup guide, and have your first smart category filling itself today.

  • Secure checkout via Stripe
  • Installed with Composer from Packagist
  • One account for this and future purchases

Need this customised for your store, or a module that does not exist yet? I build and support Magento 2 stores as a freelance Magento developer.