Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

The widget display options are configured at a market-level, it is not possible to determine a custom list of values or ordering at a product-level.

Note

Please reach out to your CSM to enable the mentioned LD flags in Production or Staging for your brand.

To enable Nutrition Explorer, configure the LD Flag enable-feature-nutrition-integration as TRUE, and if you would also like the allergens to display enable enable-nutrition-explorer-allergens as TRUE.

Once the enable-feature-nutrition-integration is set to TRUE, then the nutritional & allergen information in the whitelabel application becomes read as-is from Sanity based on the values in the Feature Nutrition widget. That is, rounding of values and conversions (e.g. kJ, per 100g) are not performed automatically by whitelabel, but are managed and read directly from the Feature Nutrition widget.

...

.

Info

Sanity document for Items/Combos/Modifiers contains two different nutrition configs: nutrition & nutritionWithModifiers. Whether the whitelabel app relies on the nutrition or nutritionWithModifiers from the Sanity document to showcase nutritional values is controlled by this flag.

...