Jump to content

Data fields: Difference between revisions

product_quantity example
(product_quantity)
(product_quantity example)
Line 50: Line 50:
A complete wiki page is dedicated to [[products quantities]].
A complete wiki page is dedicated to [[products quantities]].


In the database, the technical name for this field is <code>quantity</code>. If the system recognizes the product's quantity, it stores it as a numeric value in the <code>product_quantity</code> field.
In the database, the technical name for this field is <code>quantity</code>. If the system recognizes the product's quantity, it stores it as a numeric value in the <code>product_quantity</code> field: e.g. <code>quantity</code> = <code>10 * 9.8 ml</code> will lead to <code>product_quantity</code> = <code>98</code>.


See [https://world.openfoodfacts.org/data-quality/quantity-not-recognized quantities that are not recognized].
See [https://world.openfoodfacts.org/data-quality/quantity-not-recognized quantities that are not recognized].