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

feat: display price per kg / L depending on product_quantity_unit #311

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Feb 9, 2024

What

Thanks to openfoodfacts/open-prices#194 we have a new field Product.product_quantity_unit

We can better display the price per unit (PriceCard)

Screenshots

image

@raphodn raphodn self-assigned this Feb 9, 2024
@raphodn raphodn merged commit fff1cf7 into master Feb 9, 2024
3 checks passed
@raphodn raphodn deleted the raphodn/price-product-quantity-unit branch February 9, 2024 19:04
@raphodn raphodn linked an issue Feb 9, 2024 that may be closed by this pull request
2 tasks
@raphodn raphodn changed the title feat: display kg / L depending on product_quantity_unit feat: display price per kg / L depending on product_quantity_unit Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Better display the product unit (kg or L)
1 participant