milkyway-multimedia/ss-shop-inventory

商店模块的简单库存追踪器

安装: 82

依赖项: 0

建议者: 0

安全: 0

星标: 2

关注者: 4

分支: 4

公开问题: 10

类型:silverstripe-module

0.2 2015-11-10 22:53 UTC

This package is not auto-updated.

Last update: 2024-09-14 18:26:05 UTC


README

Silverstripe 商店库存 是一个简单的库存追踪器。

它连接到 milkyway-multimedia/ss-events-handler 模块,因此您可以轻松地添加全局事件监听器,将其连接到外部 PoS 系统。

安装

将以下内容添加到您的 composer.json 文件中


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

配置

大多数配置可以通过 CMS 完成。您还可以为库存处理进行一些 YAML 配置。


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)

许可证

  • MIT

版本

  • 版本 0.2 - Alpha

联系

milkyway 多媒体