How to find and copy your metafields in the namespace.key format

If you want to make metafields searchable or use them to create filters, you’ll need to enter them in the namespace.key format. This guide shows you how to find and copy metafields in that format.

Product metafields

  1. Go to Shopify Admin > Settings > Metafields and metaobjects > Products > Assigned to all products.
  2. Click a product metafield.
  3. Copy the value in the Namespace and key field:

    Setting up filters based on variant options, tag prefixes, and metafields on Shopify

Variant metafields

  1. Go to Shopify Admin > Settings > Metafields and metaobjects > Variants.
  2. Click a product variant metafield.
  3. Copy the value in the Namespace and key field:

    Setting up filters based on variant options, tag prefixes, and metafields on Shopify

Category metafields

  1. Go to Shopify Admin > Settings > Metafields and metaobjects > Products > Assigned to categories.
  2. Click a metafield.
  3. Copy the value in the Namespace and key field:

    Setting up filters based on variant options, tag prefixes, and metafields on Shopify

Updated on September 16, 2025

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you

Let us improve this post!

Please tell us how we can improve this post

Related Articles

Back to top