Admin setup guide
Create a metafield definition
Section titled “Create a metafield definition”Create only the ones you need from the definitions list.
- Admin → Settings → Custom data → Products
- Click Add definition
- Enter:
- Name: anything (e.g. Lead time)
- Namespace and key: the value in the definitions list (e.g.
custom.lead_time_days) - Type: the type in the definitions list
- Save
Enter values per product in the “Metafields” section at the bottom of the product edit page.
Unpublished data is not shown
Section titled “Unpublished data is not shown”When a metaobject definition has “Publishing status” on, draft entries are not shown in the store. No error appears; they are simply left out. Check the entry status as well.
- After creating an entry, make sure its status is Active/Published
- Check each entry’s status in the admin
Settings that take a key
Section titled “Settings that take a key”Some section and block settings ask for a metafield key (for example, the Metafield key of a comparison row block in the Favorites list). To use a metafield your store already has, enter the same key as in the admin definition.