Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick compare view in the search page #860

Open
serpico opened this issue Sep 28, 2024 · 3 comments
Open

Quick compare view in the search page #860

serpico opened this issue Sep 28, 2024 · 3 comments

Comments

@serpico
Copy link

serpico commented Sep 28, 2024

Problem

When using the search page, entering several EAN separated by ; i.e 3564700007792;3450970002325;3660992022007 in the search box and pressing the magnifier button, their respective "price card" would be loaded side-by-side ( see screenshot ) allowing a quick and easy compare mode, especially of the last known prices and last prices per kilo/quantity.

Mockups

Capture d’écran_2024-09-28_02-03-48

@raphodn
Copy link
Member

raphodn commented Sep 28, 2024

linked with openfoodfacts/open-prices#414

@raphodn
Copy link
Member

raphodn commented Sep 28, 2024

could you check if this "multiple get" query is possible with https://search.openfoodfacts.org/docs ?

@serpico
Copy link
Author

serpico commented Sep 29, 2024

As you well know I have almost no idea what I'm doing :) , I got the idea from

https://world-fr.openfoodfacts.org/products/3256227457302,3256221016253,3256224658931,3256224658917,3256220172882,3368954600255,3256224632047,3660992013296,3256225433094,3256224621249,3256221135855,3256224231554,3256224234487,3256224406426,3256224406433

which return ( among other things ) pictures from all those EAN , what would be the query to get that link ?

I also tinkered with the query field of https://search.openfoodfacts.org/docs pasting gibberish ( using some of those 3 EAN in my top comment ) like /product/code/3564700007792 and product/code/3450970002325 and hitting that execute button, getting results but regarding different products...not those matching my original EANs...

@teolemon teolemon removed the ✨ enhancement New feature or request label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

3 participants