← All guides

TaxonomyForge guide

How to Add Product Filters to Your Shopify Storefront

Filters let shoppers narrow a collection or search results by things like size, color or price. This guide covers what you need before filters will show, how to add one with Shopify's Search & Discovery app, and the limits that catch larger stores.

What you need

Shopify's help center lists two requirements: a compatible theme (or a custom storefront that uses Shopify's filter APIs) and the Shopify Search & Discovery app. You can still create filters on an unsupported theme, but they will not be displayed to customers.

Add a filter

The steps in the app are short. From your Shopify admin, go to Apps > Search & Discovery. Click Filters, then click Add filter. Click the Source field and select a source, then click Save.

Choose a source

A filter depends on the data behind it, so check that products carry consistent values for a source before you use it. Shopify offers standard filters for every store, plus custom filters built from options and metafields.

SourceBased on
Availability, PriceStock and price
Category, Product type, Vendor, TagsStandard product fields
Product optionsOptions you added, such as size or color
Product and variant metafieldsMetafields assigned to all products or variants
Category metafieldsMetafields tied to specific product categories

Shopify's filter documentation says standard product attributes are created automatically from the Standard Product Taxonomy when you assign a category.

Group values and show swatches

Product data is rarely tidy enough to show as it is. Grouping combines several values into one value the shopper sees. Shopify's example is grouping "Onyx", "Ebony" and "Midnight" as "Black".

Limits to know

Filters stop appearing in some situations, which can look like a bug if you do not expect it. These limits come from Shopify's filter documentation.

For help choosing between tags and metafields as a source, see Shopify metafields vs tags.

Doing this at scale

TaxonomyForge scans your catalog for missing categories, blank or generic product types and empty attributes. It proposes a category with a confidence score, a clean product type, and attribute metafields (material, color, style, occasion) from your own copy, and you approve each change one by one or in bulk. See TaxonomyForge.

Doing this for a whole catalog or every order?

See how TaxonomyForge handles it for you.

Explore TaxonomyForge →

More TaxonomyForge guides