Assortment (v8)
An assortment is a temporary collection of items, presented and delivered as one box (aka Abobox). This record describes that box itself.
Change Note: added isdefault, the variant a shop should preselect within its abogroup
| # | Field | Type | Description |
|---|---|---|---|
| 0 | id | int | internal id |
| 1 | name | string | assortment name |
| 2 | description | string | html-ready longer description |
| 3 | persons | int | the intended number of persons to consume it |
| 4 | price | double | target price for this assortment |
| 5 | planned | bool | if true, thus flag tells if the assortment was already planned in detail (items are assigned) |
| 6 | image_hash | string | hashcode for the image, if any. see image proxy doc on how to obtain the image. |
| 7 | planned_from | date | Date range start if the assortment is planned |
| 8 | planned_until | date | Date range end if the assortment is planned |
| 9 | items | int | Number of items in this assortment, if planned |
| 10 | abogroupid | int | reference to an abogroup type this assortment belongs to |
| 11 | variantid | int | reference to an abogroup variant this assortment belongs to |
| 12 | containerid | int | reference to an abogroup container this assortment belongs to |
| 13 | short_description | string | html-ready short description |
| 14 | hidden | bool | this assortment is currently not visible if true |
| 15 | packstation | int | reference to an packing station. Needed if it comes to minimum order value calculation |
| 16 | thumb_hash | string | hashcode for the small image (for list display), if any. see image proxy doc on how to obtain the image. |
| 17 | noabo | bool | if true, this assortment is not available for subscriptions |
| 18 | isdefault | bool | if true, this is the variant to preselect when its abogroup is opened - the middle size by display order, the first of the two middle ones on an even count. Boxes without an abogroup are always true. |