Help CenterContact support
All Custos: EU Compliance articles

Why doesn't the food label show on my product page?

Updated

On this page
  1. Steps
  2. Troubleshooting
  3. Customizing the look and previewing
  4. Nutrition data for search engines

Food labels appear on the storefront through the Food information theme block. If the block isn’t added to your product template, nothing is shown. This guide explains how to add it.

Steps

  1. In the app, go to Home.
  2. In the Setup guide (see setting up the app), open the step “Add the food information block to your theme” and click Open theme editor. It opens in a new tab, on the template of one of your labelled products, with that product in the preview.
  3. Add the Food information block and click Save in the theme editor.
  4. Return to the app and open the step “Check the label on one product page”. The app checks the template this product uses in your published theme and says whether the label shows. View on storefront opens the product page; Choose another product checks a different one.

Where the block lands depends on your theme. In Dawn it sits in the product details column under the description. In Horizon it is added at the bottom of the Product information section, full width under the images and details; to show it next to the buy buttons instead, click Add block inside the Details group, choose Apps > Food information, remove the copy at the bottom of the section and save.

A product only shows the block if it has a published food label. Products without a label don’t display anything.

For a product whose variants have their own labels (Variants differ), the block shows the label of the variant the customer picks; a variant with nothing published shows no label. See variant labels for the supported themes.

To see every labelled product whose page doesn’t show the label, open Catalogue check and choose Not shown on the storefront. See the catalogue check.

Troubleshooting

  • “does not have the Food information block”: the block is on a different template, or not added yet. Products can use their own template (for example product.gift): the block must be on the template each product uses. Click Open this template in the theme editor.
  • “in a theme that is not published”: you added the block to an unpublished (draft) theme. Customers only see the published theme: publish that theme, or add the block to the published one.
  • “is hidden”: the block or its section is disabled. Show it in the theme editor and save.
  • “a Liquid template”: app blocks only work in JSON templates (Online Store 2.0). Assign the product a JSON template, or ask your theme developer.
  • “has no published label”: open the product in Food labels and publish its label.
  • The check can’t read your theme: click Check again in a moment. While the theme cannot be read, the theme step of the Setup guide offers Mark as done.

Customizing the look and previewing

Open Storefront to choose the widget, style, layout, appearance and custom CSS. See customizing the food label widget. The label editor shows a live Label preview; it does not replace adding the Food information block and checking your real theme.

Nutrition data for search engines

With a published nutrition table, the block also adds the label’s nutrition facts as structured data (a schema.org NutritionInformation object in JSON-LD), which search engines and AI assistants can read. It is added only for published labels, never for drafts, food supplements or labels without energy values, and adds no script that runs in the browser. It does not repeat or change the product markup your theme already outputs.

  • The amounts are per portion when the label has a portion size, else per 100 g or 100 ml (servingSize).
  • sodiumContent is calculated from salt: salt ÷ 2.5, in mg (Regulation (EU) 1169/2011, Annex I: salt = sodium × 2.5). The label itself always shows salt.
  • For a product whose variants have different labels (Variants differ), no structured data is added, since the label changes with the variant.

Built and supported by StoreFleet, Shopify app developers since 2021.