milkyway-multimedia/ss-shop-inventory

A simple inventory tracker for the shop module

Installs: 79

Dependents: 0

Suggesters: 0

Stars: 2

Watchers: 4

Forks: 4

Open Issues: 10

Type:silverstripe-module

0.2 2015-11-10 22:53 UTC

README

Silverstripe Shop Inventory is a simple stock inventory tracker.

It hooks into the milkyway-multimedia/ss-events-handler module, so you can easily add global event listeners to hook it into an external PoS system.

Install

Add the following to your composer.json file


    "require"          : {
		"milkyway-multimedia/ss-shop-inventory": "dev-master"
	}

Configuration

Most configuration can be done via the CMS. You can also do some YAML configuration for how inventory is handled.


ShopConfig:
  Inventory:
    AffectStockDuring: 'placement'
    # Above can be either placement, payment or cart - cart is rather volatile, and will update inventory during each add/remove from cart scenario
    ZeroIndicatorInterval_Hours: 1 # Control how often the zero indicator event is fired (hours)
    LowIndicatorInterval_Hours: 24 # Control how often the low indicator event is fired (hours)

License

  • MIT

Version

  • Version 0.2 - Alpha

Contact

Milkyway Multimedia