-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
chore: Sales format #10412
chore: Sales format #10412
Conversation
Start out with:
|
Set to the Rhizomes only
Quality Gate passedIssues Measures |
Quality Gate passedIssues Measures |
@stephanegigandet can you review, it is getting old |
Quality Gate passedIssues Measures |
Will restart this one |
What
Add sales format attribute to specific categories of the Categories Taxonomy. These categories are used by Prices to determine which categories should be shown to the user when entering prices by weight/volume or item.
The attribute is
sales_format:en:
Possible values :
package
for products that have a barcode;weight
for products sold by weight (potatoes, cereals, etc.);volume
for products sold by volume (olive oil, coffee (small, medium, large), etc.)item
for products sold by piece (melon, lemon, croissant)A product could have multiple sales formats. Thus a kiwi can be sold in a package of 6 kiwis, individually per piece or barcode, or by weight.
The attribute leverages the tree structure, thus a parent node determines the values of its children.
All top parents will be set to
sales_format:en:package
, as is the standard for OFF is now based on package/barcode.