FoodLabelKit is installed
Show an EU-style nutrition declaration, ingredients with bold allergens, food business operator info and an optional Nutri-Score grade on your product pages.
- 1
Create the product metafields
Open Settings > Custom data > Products and add the metafields from the table below (single-line text;
Open metafield settingsfood_ingredientsandfood_operatorwork best as multi-line text). You only need the ones you want to display. - 2
Fill in each product
On each food product, enter the values — e.g. energy 1690 kJ / 402 kcal, fat 12 g, ingredients with allergens wrapped in asterisks: Oat flakes, *milk*, *hazelnuts*.
- 3
Add the block to your theme
In the theme editor, open a Product template, click Add block, and choose EU Food Label. Save. The declaration appears automatically per product.
Open Theme Editor
Metafield reference
custom.food_ingredients | Ingredient list (multi-line). Wrap allergens in *asterisks* to print them bold, e.g. "Oat flakes, *milk*, *hazelnuts*" |
custom.food_energy_kj | Energy in kJ, e.g. 1690 |
custom.food_energy_kcal | Energy in kcal, e.g. 402 |
custom.food_fat | Fat incl. unit, e.g. 12 g |
custom.food_saturates | of which saturates, e.g. 4.1 g |
custom.food_carbs | Carbohydrate, e.g. 62 g |
custom.food_sugars | of which sugars, e.g. 21 g |
custom.food_fibre | Fibre (optional), e.g. 6.5 g |
custom.food_protein | Protein, e.g. 9.8 g |
custom.food_salt | Salt, e.g. 0.42 g |
custom.food_basis | Declaration basis (optional), "100 g" or "100 ml" — default 100 g |
custom.food_net_quantity | Net quantity (optional), e.g. 375 g |
custom.food_storage | Storage conditions (optional) |
custom.food_origin | Country of origin (optional) |
custom.food_alcohol | Alcohol strength (optional), e.g. 5.2% vol |
custom.food_operator | Responsible food business operator: name + address (multi-line) |
custom.nutri_score | Nutri-Score grade a-e (optional; register free with Sante publique France before using) |
FoodLabelKit helps you present food information; it is a display tool and not legal advice. Nutri-Score is a scheme owned by Santé publique France — registration is free and required before showing the grade.