Module that adds discounts (either as a code, or on a group) to SilverCommerce

Installs: 204

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Type:silverstripe-vendormodule

1.0.0 2020-06-10 15:17 UTC

This package is auto-updated.

Last update: 2020-09-10 15:52:43 UTC


README

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:
        - email1@domain.com
        - email2@domain.com