Create a Searchable / Filterable Product Metafield
Shopify allows merchants to set up to 50 indexable metafields for filtering products in the admin and on the storefront.
Setup
- Go to Settings → Custom data → Products → Add definition
- Set your namespace and key
- Choose the metafield type
- Activate "Filtering for products"
- Click Save
Supported Types for Filtering
| Type | List Version |
|---|---|
| Single line text | Yes |
| Product reference | Yes |
| True or false (boolean) | No |
| Collection reference | Yes |
| Page reference | Yes |
| Metaobject reference | Yes |
| ID | No |
Using Filters in Metafield Studio
Once a metafield is indexed for filtering:
- Click the filtering button in the toolbar
- Select "Add filter"
- Choose your metafield from the dropdown
- Input the desired value to filter by
This allows you to quickly find resources with specific metafield values directly within Metafield Studio's interface.