Adding values to Metafields

After you add aMetafield definition,你加值metafield corresponding pages in your Shopify admin. For example, if you create a Metafield definition for product expiration date, then you enter the specific values for expiration date on your product pages in your Shopify admin. Adding values to your Metafields enables you to save specialized information for internal tracking or for display on your online store.

Pinned Metafields are displayed in an editable table on your Shopify admin pages in the same order that they're displayed in yourMetafield definitionslist. Each metafield displays the name that you selected when you created your metafield definition. You can click in each table row to display the metafield type and description, and then enter a value.

Metafields can only accept the supported values for their content type. For more information about supported values for common types of Metafields, refer toMetafield content types and values.

Metafield lists allow you to store multiple values in a single metafield. You can add multiple single line text fields or product reference values to a metafield list to organize large data sets, suggest items that work well together, or create more powerful search facets.

Example procedures for adding values to common types of Metafields

Which procedure you follow to add values to a metafield depends on the content type for that metafield. For example, Metafields for product expiration date and customer birth date both use theDatecontent type.

The following examples describe the steps to add values to Metafields that have different content types.

Next steps after adding values to metafields

After you add values to your Metafields, you canconnect your Metafields to your themeto display your custom information on your online store.

Ready to start selling with Shopify?

Try it free