Skip to main content

Product metafield data

This guide describes how to create metafields and how to use sections to retrieve data from metafields.

For example, if you want to use the Product insights section on the product page to add additional information related to the product’s ingredients, size, packing, etc., you need to create corresponding metafields for each product.

1.webp

Create product metafield

  1. In Admin dashboard > Settings > Metafields and Metaobjects > Products under Metafield definitions > Add definition

2.webp3.webp4.webp

  1. Inside the metafield window, there are 2 fields you need to pay attention to:

    • Name: The name of the metafield

    • Type: The metafield type—choose Multi-line text or Single line text

After filling in the information, click Save to create the metafield.

5.webp

Assign values for Metafield

  1. Go to Product > Select product > scroll to the product page metafield section > enter the information into the metafield

6.webp

Example of entering data into a metafield with the name "ACTIVE INGREDIENTS"

7.webp

  1. Connect the field text to the metafield

In the Feature block of the Product insights section, for the Value field, click the Connect dynamic source icon, then select the corresponding metafield.

8.webp