How to add filters to Shopify collections
You can add filters to your Shopify collection pages with Shopify's free Search & Discovery app. Filters for price, availability and product type work as soon as you add them, because they use information your products already have.
Filters for your own product details take more work. Each product needs the detail filled in before shoppers can filter by it.
The screenshots in this guide come from Main Street Coffee, a demo store we use for examples. On its Drinks page, shoppers can't filter by format, like whole bean or loose leaf, until each product has its format filled in.
This guide shows you how to add both kinds of filters, and how to fill in product details by hand or with an app. Here's the same page with a Format filter.
Check that your theme can show filters
Shopify's free Dawn and Horizon themes can show filters. If yours can't, you can still set up filters, but shoppers won't see them.
To check, go to Online Store in your admin, click Edit theme, and switch to a collection page. In Horizon, filters are a Filters switch in the Filtering and sorting block, inside the Collection section.
How to add filters
- Install Shopify Search & Discovery from the Shopify App Store. It's free and made by Shopify. Your store may already have it under Apps.
- Go to Apps > Search & Discovery and click Filters.
- Click Add filter, then Select source, and pick a filter from the list, such as Product type.
- Click Save. Add more filters the same way, then drag them into the order you want shoppers to see.
Search & Discovery names each filter after its source, and you can change the name under Filter label. Shoppers only see the values that apply to a collection's products. Main Street Coffee's Format filter has five values, and Drinks shows four, because none of its products is a Bar. For sorting and grouping values, see Shopify's help article Adding filters with Shopify Search & Discovery.
Which filters you can add
Search & Discovery builds each filter from information on your products. How much work a filter takes depends on where that information comes from.
| Filter | Examples | Where the values come from |
|---|---|---|
| Standard filters | Availability, Price, Product type, Vendor, Tags, Category | Fields every product has, like its price and vendor |
| Product options | Size, Color | The options on your products' variants |
| Category attributes | Fabric for shirts, Coffee roast for coffee | Shopify's standard details for each product category |
| Custom fields (metafields) | Format, Origin | A field you create and fill in on each product |
A store can have up to 25 filters in all. In Search & Discovery's source list, Vendor is called Brand and Tags is called More filters.
How to add a filter for your own product details
If your products have a Shopify category, check its attributes first. Shopify has standard ones for many details, like fabric for shirts and roast for coffee. When you create a product, Shopify adds some of them, with values, based on the product's title, description and images. In Search & Discovery's source list, they have the type Category metafield.
Create your own field when Shopify has no attribute for the detail, or when you want one filter across different kinds of products. Main Street Coffee uses one Format filter for its coffee and tea. Shopify's standard attributes for coffee and tea are separate, so they would show as two filters.
- Go to Settings > Metafields and metaobjects, click Products, then Add definition.
- Name it Format, pick Single line text as the type, and click Save. If a product can have more than one format, first click One next to the type and pick List of values.
- Fill in each product's format. Open a product and find Format under Product metafields, near the bottom of the page. To do many at once, select them in your product list, click Bulk edit, then add Format from Columns.
- In Search & Discovery, click Add filter, then Select source, and pick Format. Its type is Product metafield. Click Save.
Use the same spelling on every product. If products end up with two spellings, you can group them into one value in Search & Discovery.
Filling in a field for every product takes time, and you'll need to do it again for each new product. See Shopify's help article Creating custom metafield definitions.
Let Wavelet fill in the values
Wavelet is a Shopify app that reads each product's title, type, tags and description. On its Filters page, it suggests filters that would narrow your collections, such as Format and Roast on Main Street Coffee. You see the values it would add before anything is written to your products.
- It fills in the values on your products, including products you add later.
- It leaves out filters your store already has.
- You add each filter in Search & Discovery yourself, and Wavelet shows you the steps.
- If you remove a filter, Wavelet takes out the values it added and leaves any you changed.
- Wavelet also adds a row of links under your menu. Once a filter is live, a shopper's pick carries into those links. Pick Light under Roast on Coffee, and the bar's link to Single Origin keeps Light.
Wavelet is free for stores with up to 250 products.
Good to know
- Collections with more than 5,000 products don't show filters.
- A filter shows shoppers up to 100 values.
- The Tags filter only shows to shoppers browsing in your store's default language.
- The same filters also work on your store's search results.
Common questions
How do I add filters to a Shopify collection?
With Shopify's free Search & Discovery app. Go to Apps > Search & Discovery > Filters and click Add filter.
Why aren't my filters showing?
Check that your theme can show filters (in the theme editor, on a collection page), that the collection has 5,000 products or fewer, and that its products have values for the filter.
How do I make a custom filter?
Create a product metafield, fill it in on your products, then add it as a filter in Search & Discovery.
Can I filter by product tags?
Yes. Tags is one of the standard filters, called More filters in Search & Discovery's list. It only shows to shoppers browsing in your store's default language.
How many filters can a store have?
Up to 25.
Sources
The steps follow Shopify's own documentation. We checked each one, and took the screenshots, on Main Street Coffee, our demo store, on November 27, 2026.
- Adding filters with Shopify Search & Discovery, Shopify Help Center
- Creating custom metafield definitions, Shopify Help Center
- Shopify Search & Discovery, Shopify App Store