Adding metafield definitions

Metafield definitions act as templates that specify what part of your store a metafield applies to and what values the metafield can have. Before you can add metafield values to specific products, orders, or other parts of your store, you need to add the metafield definition for that information. Adding metafield definitions ensures that the same validation rules apply to every value that you enter for a specific metafield.

When you add a metafield definition, you can do either of the following:

  • Select a standard definition
  • Create a custom definition

Whenever possible,use a standard definitionmetafields。标准definitions are automatically configured for you and are designed to be universally compatible across Shopify. Because standard metafield definitions follow standards that are used across all Shopify stores, they're supported by apps, themes, and other parts of your store.

You need tocreate a custom definitionin the following circumstances:

You add metafield definitions on theMetafieldspage of your Shopify admin. You can add additional types of metafields in the following ways:

You can have up to 250 metafield definitions.

In this section

Ready to start selling with Shopify?

Try it free