Filtering products using product metafields

You can filter products using product metafields on the Products page in your Shopify admin.

You can filter products using the product metafields and have a maximum of 50 definitions per product metafield definition.

Before you start

Before you can filter products using product metafields, you need to complete the following tasks:

  1. Add your metafield definitions
  2. Add the values to products or variants

Supported metafield definition types

You can use the following metafield definition types to filter products using product metafields:

  • Collection reference or Collection reference (list)
  • Company reference or Company reference (list)
  • Metaobject reference or Metaobject reference (list)
  • Page reference or Page reference (list)
  • Product reference or Product reference (list)
  • Single line text or Single line text (list)
  • True or false

Activate product metafields filtering

To filter products using product metafields, you need to activate the filtering setting in your metafield definitions.

Steps:

  1. From your Shopify admin, go to Settings > Metafields and metaobjects.

  2. In the Metafield definitions section, click Products.

  3. Click the metafield definition that you want to use to filter products.

  4. In the Options section, activate the Filter on the product list and in the Admin API option.

  5. Click Save.

Filter products using product metafields

After you create your metafield and activate the metafields filtering, you can filter products using product metafields.

Steps:

  1. From your Shopify admin, go to Products.

  2. Click the searchfilter icon.

  3. Click Add filter +.

  4. In the Metafields section, select the metafield that you want to use to filter your products.

  5. Optional: To save your filter view, click Save as, name your filter, and then click Save.