vending_product 
Datum used to hold information about a product in a vending machine
Vars | |
amount | How many of this product we currently have |
---|---|
category | The category the product was in, if any. Sourced directly from product_categories. |
max_amount | How many we can store at maximum |
price | Price to buy one |
product_path | Typepath of the product that is created when this record "sells" |
Var Details
amount 
How many of this product we currently have
category 
The category the product was in, if any. Sourced directly from product_categories.
Form should be list(/type/path = amount, /type/path2 = amount2)
Be aware that categories will be inherited by children object, and will overwrite it's list of products if children's categories aren't specified.
max_amount 
How many we can store at maximum
price 
Price to buy one
product_path 
Typepath of the product that is created when this record "sells"