Open teolemon opened 1 year ago
@teolemon Perhaps we could just let the server tell us something like "nutriscore: not applicable for that category" (we already know that), detect that and not display the fast-track in those cases.
@teolemon That goes even beyond the fast track button: looks what happens if you click on a "not applicable nutriscore" button...
There's a discrepancy between the nutriscore as an attribute (nutriscore-not-applicable
) and the knowledge panel ("actions":["add_nutrition_facts"]
)
=> server fix needed
A possible solution at the Smoothie level would be to make the nutriscore button not clickable (and have no forward arrow) if the nutriscore is "not applicable", but that would prevent users from getting info about why the nutriscore is not applicable (the explanation is not available from the server anyway for the moment).
product page | nutriscore page |
---|---|
What is implemented in #4599: we don't display the fast-track button if the nutriscore or the ecoscore are computed as "not applicable" by the server.
Are there be other typical cases to take care of beyond those "not applicable" scores?
What
Which products
Alcohol
Part of
4248
Screenshot/Mockup/Before-After