openfoodfacts / smooth-app

The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart

Home Page:https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a pathway to price per kilo

teolemon opened this issue · comments

Problem

If we have quantity to be completed status we should show a button to the edit section for quantity.
This ensures the users can get price per kilo within seconds.
Screenshot_20240623-093553.png

Interesting topic already evoked in #5437: fixing incomplete data in OFF, and how to make Prices be aware of it.

We have the luxury to be a client, so I guess we can query the local database ?

We currently use the minimalist product data from Prices:

  1. should we systematically download in Prices pages the same product but from OFF?
  2. should we systematically override Prices product data with OFF product data?
  3. should Prices add "updateProduct" methods in order to avoid product data discrepancies?