The optional plugin module
imports/plugins/included/inventory implements an
Inventory collection, and inventory methods that are triggered with collection hooks.
Inventory maintains an inventory document for every individual product variant inventory.
The hooks trigger updates to the
Inventory collection on
Cart collection changes.
Sets matching inventory
Inventory.workflow.status to a new status. Defaults to
Accepts a status and currentStatus. Used to reset status on inventory item. Defaults to "new".
reserved Reaction.Schemas.CartItem objects to
reserved status Reaction.Schemas.CartItem object.
backorder status for a Reaction.Schemas.CartItem object.
WIP - will be used to send email notifications on low inventory levels.
Reaction.Schemas.Product object and update
Inventory collection with inventory documents.
Reaction.Schemas.Product documents when changes are made we get the inventoryQuantity for each product variant,and compare the qty to the qty in the inventory records we will add inventoryItems as needed to have the same amount as the inventoryQuantity but when deleting, we'll refuse to delete anything not workflow.status="new".
Remove an inventory item permanently
Set status of inventory to
Set status of returned inventory to
Set status of
return items to