A shopper reading an ingredient list may recognise a few names and wonder what the others do. A glossary lets them select a name and read a short explanation on the product page.

We’d build this around reusable ingredient entries. When the same ingredient appears in another product, you can use the explanation you’ve already reviewed.

Connect a product to its ingredient records

Choose a product in your store. Find its corresponding record in The Beauty API (usually using GTIN as the unique identifier), then confirm the product and variant. GTIN is the trade-item identifier commonly carried by an EAN or UPC barcode. Barcode lookup requires a barcode-enabled plan; brand-and-name search provides another way to find the record.

Retrieve the full product details and follow the available links to ingredient records. These connections give your glossary a consistent ingredient reference. Keep the declared ingredient names, their order and any separate component lists for display.

Create a reusable glossary entry in Shopify

Shopify calls a reusable record with several fields a metaobject. Create an “Ingredient explanation” definition under Settings > Custom data, then add entries under Content > Metaobjects. Shopify’s metaobject guide explains the structure.

For a first entry, use these fields:

  • Display name: Glycerin.
  • Ingredient reference: the corresponding ingredient ID returned by The Beauty API.
  • Short explanation: “Glycerin is a humectant: it helps retain moisture.”
  • Review date: when your team last checked the wording.

The explanation follows the documented humectant function of glycerin. It describes an ingredient’s cosmetic function. It does not promise a particular result from the finished product. Your team writes and reviews this wording, using the available ingredient information as its starting point.

Connect the entry to the product page

Add a product metafield, which is an extra field on a Shopify product, that references the relevant glossary entries. Keep a connection between each displayed ingredient and its entry, rather than replacing the original list with glossary names.

Your theme then needs to turn those connections into an interaction. A developer can add this through the product template, or you can use a compatible theme feature. Creating the records alone does not make ingredient names clickable.

For example, selecting “Glycerin” on a fictional moisturiser page could open a small panel containing the explanation above. Make it work by touch and keyboard, with a clear close button. Where an ingredient has no reviewed entry, leave its original name visible as plain text.

Update an explanation once

Connect a second product containing glycerin to the same glossary entry. Now edit the explanation and check both pages: they should show the revised wording while keeping their own ingredient lists intact.

This is the useful outcome of a shared glossary. You maintain the explanation in one place, and shoppers can read it wherever that ingredient appears. The Beauty API’s product and ingredient records provide the connections you can build on.