Current behavior
In the OpenFoodFacts app, the Nutri-Score is displayed for products that have it. However, some products (especially baked goods, pastries, etc.) have a single label that shows different Nutri-Scores for different components of the product.
Example:
The app currently only displays one Nutri-Score (or none), and does not properly represent this multi-score situation that is increasingly common on European packaging.
Expected behavior
- Detect when a product has multiple component-specific Nutri-Scores.
- Display them clearly on the product page, for example:
- Nutri-Score: D (cherry filling) / E (dough)
- Or show the full label image if available.
- Possibly allow users to see the overall score (if one exists) and the component breakdown.
- Store this information properly in the database (perhaps in a new field like
nutriscore_components or similar).
Additional context
- This is becoming more common with the Nutri-Score 2023+ updates and for composite foods.
- The official Nutri-Score rules sometimes allow/require component scoring.
Proposed solution (optional)
- Extend the Nutri-Score display widget to support multiple values.
- Add a small info icon that explains the different scores when tapped.
Current behavior
In the OpenFoodFacts app, the Nutri-Score is displayed for products that have it. However, some products (especially baked goods, pastries, etc.) have a single label that shows different Nutri-Scores for different components of the product.
Example:
Sauerkirschefruchtfüllung)Teig)The app currently only displays one Nutri-Score (or none), and does not properly represent this multi-score situation that is increasingly common on European packaging.
Expected behavior
nutriscore_componentsor similar).Additional context
Proposed solution (optional)