<<

NAME

ProductOpener::ProducersFood - special features for food products manufacturers

DESCRIPTION

ProductOpener::ProducersFood implements special features that are available on the platform for producers, specific to food producers.

FUNCTIONS

detect_possible_improvements( PRODUCT_REF )

Run all functions to detect food product improvement opportunities.

detect_possible_improvements_nutriscore( $product_ref, $version )

Detect products that can get a better NutriScore grade with a slight variation of nutrients like sugar, salt, saturated fat, fiber, proteins etc.

detect_possible_improvements_nutriscore_2021 ( $product_ref )

Detect products that can get a better NutriScore grade with a slight variation of nutrients like sugar, salt, saturated fat, fiber, proteins etc.

detect_possible_improvements_nutriscore_2023 ( $product_ref )

Detect products that can get a better NutriScore grade with a slight variation of nutrients like sugar, salt, saturated fat, fiber, proteins etc.

detect_possible_improvements_compare_nutrition_facts( PRODUCT_REF )

Compare the nutrition facts to other products of the same category to try to identify possible improvement opportunities.

<<