Products only come with a few built-in fields: title, price, vendor, description, image, variants. Need anything else, like a roast date? You add it as a .
It takes two steps. You define the field once in admin. Then merchants fill in a value per product. A definition has four parts:
Name: what merchants see when editing a product.Namespace + Key: how Liquid finds it, product.metafields.<namespace>.<key>.Type: the input merchants get (date, text, number).
Define first, then values, then read in Liquid. Skip the definition and the Liquid runs but renders blank.