Download the PHP package silvercommerce/stock without Composer
On this page you can find all versions of the php package silvercommerce/stock. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download silvercommerce/stock
More information about silvercommerce/stock
Files in silvercommerce/stock
Package stock
Short Description Module that adds discounts (either as a code, or on a group) to SilverCommerce
License BSD-3-Clause
Homepage http://github.com/silvercommerce/stock
Informations about the package stock
SilverCommerce stock tracking
Simple module for tracking stock levels for SilverCommerce products
Install
Install this module using composer:
composer require silvercommerce/stock
Usage
Once installed this module adds some more fields to a CatalogueProduct
(which can be changed
via a Product's "Settings" tab):
Stocked
: Is this product stocked (should SilverCommerce track stock levels against it)?
StockLevel
: What is the current stock level for the current product.
LowStock
: What is the low stock level for this product? If the stock level gets below this level,
the catalogue admin gridfield will display a notification.
AvailableOutOfStock
: Can this product be purchased when out of stock?
Email Notifications
This module allows email notifications to be sent when stock levels get low, are out of stock or are understocked (less than 0).
To enable email notifications, you have to add the email addresses you want to recieve notifications
to the StockController
via config.yml, eg:
SilverCommerce\Stock\Helpers\StockController:
send_alerts_to:
- [email protected]
- [email protected]
All versions of stock with dependencies
silvercommerce/settings Version ~1.0
silvercommerce/catalogue-admin Version ~1.3
silvercommerce/orders-admin Version ~1.0
i-lateral/silverstripe-gridfield-addons Version ~2.0