# Ingredients and evidence

Chapter 11 of the Dose user guide.

Beside the facts panel, **Ingredients and evidence** answers "what's in it, and how do I know?": the product's certifications and format as chips, cards for its key ingredients with their amounts, and a link to its lab report.

## What shoppers see

* The section marker, "Ingredients and evidence" and the heading "What's in every gummy" (the product's format, in lower case and singular: "Capsules" gives "What's in every capsule").
* **Chips**: one per certification ("Third-party tested", "Vegan", "Gluten free", "Non-GMO"), each with a simple icon, and the format chip ("Format: gummy"). The words always show; there are no certifier logos.
* **Ingredient cards**: up to three, each a tile in a goal colour with an icon, the amount large ("200 mg"), the name and your note. Three across from 990px, two on tablets, one per row on phones.
* **The lab row**: a document icon, "Lab results for Wind-down gummies", "Tested by an independent lab" and **View lab results (PDF)**, which opens the report in a new tab.

Each part hides on its own when its metafield is empty; with none of them the block shows nothing.

## Where it comes from

The chips come from `custom.certifications`, the format chip and the heading's `[format]` from `custom.format`, the cards from `custom.key_ingredients` (one per line, `Name | amount | note`) and the lab row from `custom.lab_report` (chapter 7).

**Chip icons** go by keyword: "test" or "lab" a flask, "vegan" or "plant" a leaf, "gluten" crossed wheat, "GMO" a DNA strand, "organic" a sprout, "sugar" crossed sugar, "dairy" or "lactose" a crossed drop, and anything else a tick.

**Card icons** come from **Ingredient icons**: the first keyword found in the ingredient's name picks the icon, else a leaf. The card colours cycle through goal colours 5, 3, 4, 1, 2 and 6, skipping the product's own goal colour, so the first card never repeats the gallery's ground.

**The lab report** opens in a new tab. A link ending in `.pdf` keeps "(PDF)" in the button; another link drops it. Use your current report, and replace the file when a new batch is tested.

## Ingredients and evidence block settings

| Setting | Default | What it does |
| --- | --- | --- |
| Show the section marker, Filled marker dots | On, 2 | |
| Eyebrow | "Ingredients and evidence" | |
| Heading | "What's in every [format]" | `[format]` is replaced with the product's format in lower case and singular, such as gummy for "Gummies" ("serving" without a format) |
| Show certification chips | On | Under **Certifications and format** |
| Show the format chip | On | |
| Format chip | "Format: [format]" | Shows while the format chip is on |
| Ingredient cards | 3 | Under **Ingredient cards**. 1 to 6: the most cards shown. |
| Ingredient icons | `magnesium \| mineral`, `zinc \| mineral`, `iron \| mineral`, `vitamin \| sun`, `root \| root`, `berry \| berry`, `leaf \| leaf`, `flower \| flower`, `oil \| drop`, `probiotic \| capsule` (one per line) | One line per keyword: `keyword \| icon`. Icons: mineral, sun, leaf, root, berry, flower, drop, capsule. |
| Lab row title | | Under **Lab report**. Leave blank to show "Lab results for" and the product's name. |
| Lab row note | "Tested by an independent lab" | Keep it true of the report you link |
| Lab button label | "View lab results (PDF)" | |

On the `product` template the block sits in **Facts and ingredients**, beside the facts panel. You can also add it to the Product section or a Featured product.

## In the theme editor

On a product with none of the four metafields, the theme editor shows a sample (three cards, four chips, the format chip and a lab row) with a "Sample" tag. Shoppers see nothing until you fill in the metafields.

The home page's **Ingredient spotlight** (chapter 4) is separate: you write its ingredients in the section, and its evidence row's chips come from its own **Certifications** setting.
