openfoodfacts-server
openfoodfacts-server copied to clipboard
Add a "create product" button to the barcode search result page
Problem
The barcode search result page is often a dead end, allow the user to create a new product for the barcode he just searched. Now the user has to open another page, reenter the barcode and start again.
Proposed solution
Add a line with a button to create the product (in edit-mode).
Number of products impacted
Anytime the user wants to see the data for a product that does not exist yet
Time per product
10 seconds(?) per search.
Yes it also help discover how to add a product !
hi @aleene i want to contribute in this issue , I request you to assign me this issue
@Shrutakeerti just tell you are working on it, we don't asign issue, it's useless.
A clarification on what is needed:
For this issue, we want to change the output of /cgi/search.pl
so that it adds a link to the page to create a product (e.g. https://world.openfoodfacts.org/cgi/product.pl?type=search_or_add&action=process&code=54353453543543 )
when a user searches for a barcode (e.g. 42424243243255 ) and we don't have any result for it.
@stephanegigandet I am starting working on this issue.
If you are not no longer working on this, me and my group will work on this. @komalverma04