Line 15:
Line 15:
=== Property ===
=== Property ===
−
Each category that can be sold as bulk gets a specific bulk_code. This bulk_code is inspired on the agribalyse_food_code/ciqual_food_code with two added digits:
+
Each category that can be sold as bulk gets a specific sales_format property.
−
* 00 when the category matches exactly with the ciqual_food_name;
−
* 01, 02, etc if it is slightly different;
By adding this property to each category that is sold as bulk, OFF Prices can figure out what categories need to be shown to the user.
By adding this property to each category that is sold as bulk, OFF Prices can figure out what categories need to be shown to the user.