Build smart collection rules and set sort order
Use condition fields, match logic, and sort order to automate which products appear in a smart collection.
On this page
Create the collection and choose Smart as its type — conditions only apply to smart collections, and a collection's type can't be changed after it is created. Review create-product-collections if you haven't created a collection before.
Choose match logic
In the Conditions card, next to "Products must match:", choose all conditions or any condition. All conditions narrows the collection; any condition widens it.
Pick a condition field
For each condition, choose a field: Title, Type, Vendor, Tag, or Price.
Choose the right relation
The relation options change by field. Title, Type and Vendor offer is equal to, is not equal to, contains, starts with, and ends with (not case-sensitive). Tag offers is equal to and is not equal to. Price offers is equal to, is not equal to, is greater than, and is less than.
- Price conditions compare against the product's lowest variant price, and the value is entered in cents — for example, enter 2500 for 25.00.
Add more conditions or exclude products
Select "Add another condition" to add more rules. To keep a specific product out even though it matches, use the exclude button on it in the Collection items list; excluded products are listed under "Excluded products".
Set the sort order
Choose a Sort order: Manually, Best selling, Product title A-Z or Z-A, Highest price, Lowest price, Newest, or Oldest. Dragging products into position is only possible in manual collections — dragging switches that collection's sort order to Manually.
Save and recheck membership
Save the collection. Smart collection membership is recalculated when you save the collection's conditions, and when you create or save a product, so products join or leave as they change.
CHECK YOUR WORK
You’re ready when…
- Match logic (all/any) matches your intent.
- Every condition uses the right field and relation.
- Sort order is set deliberately, not left at the default.
IF SOMETHING DOESN’T LOOK RIGHT
Troubleshooting
A product I expected is missing from a smart collection.
Re-check each condition's field, relation, and value against the product's actual Title, Type, Vendor, Tag, or price. Also check whether the product is excluded, in Draft, or not visible to customers.
The sort order I picked changed to Manually.
In a manual collection, dragging a product to a new position switches the sort order to Manually. Reselect the sort order you want and avoid dragging if you want to keep it.
My price condition isn't matching what I expect.
Price conditions use the product's lowest variant price and the value is in cents — 2500 means 25.00. A value of 25 would mean 0.25. A product with one cheap variant can also match "is less than" even if most variants cost more.