Stock Items for Items
How to use the StockItems setting for regular Items.
The Stock Items is a new setting introduced in v1.6.0. It allows you to manage Items for several stores more easily and reuse a same stock of Item across several Mart or Shelf events.
Example 1
Setting Setup
:normalStore
— The name of the stock.- An Array of Items for this stock.
Usage in a Mart event
To use it in your Mart or Shelf event, you type the name of the stock but as a string instead of a hash.
Example 2
Setting Setup
:limitStore
— The name of the stock.- An Array of Items for this stock. But this time they include Item Limits as well.