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. 1

    Create the product metafields

    Open Settings > Custom data > Products and add the metafields from the table below (single-line text; food_ingredients and food_operator work best as multi-line text). You only need the ones you want to display.

    Open metafield settings
  2. 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. 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_ingredientsIngredient list (multi-line). Wrap allergens in *asterisks* to print them bold, e.g. "Oat flakes, *milk*, *hazelnuts*"
custom.food_energy_kjEnergy in kJ, e.g. 1690
custom.food_energy_kcalEnergy in kcal, e.g. 402
custom.food_fatFat incl. unit, e.g. 12 g
custom.food_saturatesof which saturates, e.g. 4.1 g
custom.food_carbsCarbohydrate, e.g. 62 g
custom.food_sugarsof which sugars, e.g. 21 g
custom.food_fibreFibre (optional), e.g. 6.5 g
custom.food_proteinProtein, e.g. 9.8 g
custom.food_saltSalt, e.g. 0.42 g
custom.food_basisDeclaration basis (optional), "100 g" or "100 ml" — default 100 g
custom.food_net_quantityNet quantity (optional), e.g. 375 g
custom.food_storageStorage conditions (optional)
custom.food_originCountry of origin (optional)
custom.food_alcoholAlcohol strength (optional), e.g. 5.2% vol
custom.food_operatorResponsible food business operator: name + address (multi-line)
custom.nutri_scoreNutri-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.