Back to all articles
Photo of Niki, the author of this blog post
Niki · 16 October 2023

What are standard metafield definitions and how to set them up?

It’s no surprise that metafields are incredibly powerful, as they can provide additional information to your Shopify store, including text fields, numbers, colors, URLs, and even more advanced reference types like metaobjects. Shopify has recognized the popularity of this functionality and has created predefined metafield definitions, known as standard metafield definitions.

These standard metafields are designed to be universally compatible with Shopify, following their standards. As a result, they are supported by various apps, themes, and other parts of your store. In this brief guide, we will walk you through the process of creating these standard metafield definitions.

How to set up standard metafields?

Shopify has made it quite easy for merchants. For instance, if your theme uses one of the standard metafield definitions, all you need to do is add the metafield definition initially.

We will provide an example of adding a product subtitle, a commonly used metafield definition that allows you to include an extra product subtitle as a single-line text. This subtitle can be displayed on product pages, on collection pages and in featured collection sections within the product card.

  1. In your Shopify admin, go to Settings, then Custom Data.
  2. Select Products (the specific part of your store where you want to add the definition).
  3. Click on Add Definition.
  4. In the name field, search for “Product subtitle”.
  5. Select this option.
  6. You can also indicate if you want to use the metafield definition for filtering and creating automated collections.
  7. Make sure to keep the “Storefront” access option selected, as it is by default.
  8. Save your metafield definition.

Tip: If you find that the single-line item type doesnt suit your store’s needs and you’d prefer something like a rich text type, you’ll need to create the metafield definition from the beginning. In this case, you can refer to one of our earlier articles on How to display additional product information on your store? Use integrated Shopify metafields. (Themes 2.0. and vintage themes).

Populating Metafield Definition with Values

Just like creating your own metafield definition, you also need to add values to the metafield. To do this, follow these steps:

  1. Go to your Shopify admin and select “Products”.
  2. Choose the product for which you want to add a value for the product subtitle metafield.
  3. Scroll down to the “Metafields” section at the bottom.
  4. Click on the gray field and enter the product subtitle.
  5. Save your changes.

Displaying Metafield Definition Values on Your Storefront

Once you’ve added the values, it’s time to showcase them on your storefront. The simplest way is to utilize an existing block such as a text field or a rich text block, or section settings, using the dynamic source feature to display the values. You can find more information on using the dynamic source in one of our previous articles.

If your theme already uses the product subtitle metafield by default, there should be built‑in support for this (like a custom block or a checkbox in the theme settings). If you can’t locate it or encounter issues, please reach out to the theme developers for assistance.

What standard metafields are available?

As of October 2023, there are 14 standard metafield definitions set up for all Shopify stores.

Name Type Reserved namespace and key Description
Product subtitle single_line_text_field descriptors.subtitle A very short product description
Care guide multi_line_text_field descriptors.care_guide Detailed instructions on how to take care of products
ISBN single_line_text_field facts.isbn ISBN book identifier
UPC single_line_text_field facts.upc Stores a Universal Product Code
EAN single_line_text_field facts.ean Stores a European Article Number
Product rating rating reviews.rating It stores the average rating for a product or variant.
Product rating count number_integer reviews.rating_count It stores the total number of ratings for a product or variant.
Related products list.product_reference shopify--discovery--product_recommendation.related_products It saves products that are similar to a selected product.
Related products setting single_line_text_field shopify--discovery--product_recommendation.related_products_display It controls how manual product recommendations are displayed – manual vs auto.
Search product boosts list.single_line_text_field shopify--discovery--product_search_boost.queries It saves the search terms associated to a product.
Complementary products list.product_reference shopify--discovery--product_recommendation.complementary_products It saves products that are often bought together with a selected product.
Birth date date facts.birth_date It saves the customer’s date of birth in ISO 8601 format.
Trade item description multi_line_text_field import_information.trade_item_description Detailed product information used for customs and import
Product transport declaration list.single_line_text_field import_information.product_transport_declaration Information about public transport declarations (liquids, creams, powders, etc.

For updates and more information, please visit the official Shopify documentation on Standard metafield definitions.

I hope I’ve successfully explained what standard metafield definitions are and how to set them up in your store. If you encounter any issues, please feel free to let me know. I’ll be happy to assist you.

Have a project in mind?
Get in touch
Drop us an email to

hello@ecommercepot.com

and one of us will get back to you soon.