COLLECTIONSStructure and filtersAs a Shopify catalogue grows, two things start to hurt. Collections updated by hand drift out of date, and shoppers land on long pages of products with no way to narrow them. Collections decide which products sit together; filters let a shopper cut a collection down to what they need. Plan both from the way customers think, and most of the upkeep looks after itself.
Should collections be automated or manual?
Automate almost everything, and hand-pick only small edited sets such as staff favourites. In the Shopify admin these are two ways of adding products, not two kinds of collection: set conditions so matching products join automatically (the API calls these smart collections), or choose products yourself. One collection can use both. Conditions can use:
- Product title, variant title, product type or vendor, matched exactly or with options such as contains.
- Product category, optionally with all its subcategories.
- Tags, product status, price, compare-at price, weight and inventory stock.
- Product and variant metafields, once the metafield definition is switched on for use as a collection condition.
With several conditions, you choose Match all conditions or Match any condition. There is no "greater than or equal to", so a price range takes two conditions under Match all, each offset by a cent. Products added by hand stay even if they stop matching; only removing them, or an exclusion rule, takes them out.
How should you plan the collection structure?
Plan it around the questions shoppers bring: what is it, what is it for, and when do I need it? That gives three kinds of collection, and one product can sit in several:
- By category: what the product is. These follow product category or type and usually form the main menu.
- By use: what the shopper wants to do with it. These cut across categories, so they usually need a tag or a metafield.
- By occasion: gifts, a season or an event. These are often temporary, and you can schedule a collection to publish on a set date.
What does that look like in practice?
In practice, each kind of collection gets its own type of rule. Take a hypothetical outdoor store selling tents, sleeping bags, backpacks and stoves. Each category collection uses one product category condition, so a new tent lands in Tents as soon as it is categorised. A parent Camping collection nests all four, so it stays in step.
Its use collections, Ultralight, Winter camping and Family camping, draw from every category. We would give each product an Activity metafield that references metaobject entries and build each use collection on it. The same field then works as a filter.
For occasions, a Gifts collection combines a gift tag and a price ceiling under Match all, and a seasonal edit is scheduled to publish when the range is ready.
Which filters should you add?
Add filters for the attributes shoppers compare, created in the Shopify Search & Discovery app under Apps > Search & Discovery > Filters. Standard filters cover availability, category, price, product type, tags and vendor. Custom filters come from product options such as size or colour, and from product, variant and category metafields. Our guide to Shopify metafields and metaobjects covers the metafield setup. Then tidy them:
- Rename labels into shopper language, such as Brand instead of Vendor. The label changes; the source does not.
- Group near-duplicate values, so Onyx, Ebony and Midnight show as one Black value.
- Hide empty values, or move them to the end, so nobody picks an option with no products.
Shopify only shows a filter where it applies to the products on the page, so a backpack capacity filter won't clutter Tents. Values from different filters narrow results (red and size 8); values within one filter widen them (red or green) by default.
Will filters work on your theme?
Only if the theme supports them. Shopify's theme comparison lists collection filtering for Online Store 2.0 themes and theme-block themes such as Horizon, not for vintage themes. To check, open Content > Menus: if the theme can't filter, a message appears in the Collection and search filters section, though some unsupported third-party themes may not show it. In Shopify's own themes, filtering is a setting in the Product grid section of collection pages. Filters you create on an unsupported theme stay invisible to shoppers.
Size matters too. A collection with more than 5,000 products doesn't display filters, so split a large catch-all collection into smaller ones.
How do you keep each collection distinct?
Give every collection one job and make it clear in the title and description. If two collections hold mostly the same products, such as Sale and Clearance, merge them or make the difference obvious. For each one:
- Use a title that names the products and a short description of what is included and who it suits.
- Fill in the search engine listing's page title and meta description; Shopify notes that titles over 70 characters and descriptions over 320 may be cut off in results.
- Keep working collections, such as one that only feeds a discount or a tax override, unpublished so shoppers never see them.
Then link shopper-facing collections from your menus: making a collection available on the online store doesn't add it to the navigation.
Where to start
Export your product list and mark each product's category, use and occasion. The gaps are the first job, because conditions and filters both depend on that data. Our Shopify development service plans and builds collection structures and filters, or ask for a website review of your current store.
FAQ
Frequently asked questions
How many filters can a Shopify store have?
Up to 25 in total, combining standard and custom filters, and each filter source can only be used once. On the storefront a single filter shows at most 100 values, so long lists such as colour shades are worth grouping into fewer customer-facing values. If you reach the cap, keep the filters shoppers actually use.
Should we filter by tags or by metafields?
Metafields, for anything shoppers see. The tag filter only displays in your store's default language, and tag values aren't translated. Tags with special characters can also be treated as the same tag in collection conditions. A metafield filter lets you control exactly which values appear, while tags remain useful for internal grouping and collection rules.
Can a collection show only certain variants, such as the red ones?
Yes. Add a Variants source instead of a Products source, then pick variants by hand or with conditions. The collection then holds only those variants, and its filters show the price range, swatches and options for just those variants. A store can have up to 100 collections that contain variants, so save this for collections that need it.
Why doesn't the price filter show for some customers?
If you sell in more than one currency, the price filter only displays when a customer shops in your store's default currency. Shopify lists this as a current limitation. For international stores, make sure the other filters, such as product type, size or colour, do enough work on their own.
What happens to collections when we archive a product?
It stays in every collection it was in. Archived products still appear in the collection's item list in the admin, but customers can't see them because archived products are hidden from the online store. To keep them out of an automated collection, add the condition product status is not equal to Archived, with Match all conditions selected.
Which sort order should a collection use?
New collections sort by Most relevant, based on sales performance, and you can switch to best selling, alphabetical, price, newest or oldest, or a manual order you drag into place. Manual suits small edited collections. One catch for international stores: sorting by price uses base prices, not market or B2B catalog prices.
