\CommerceStockKeeping
Core config class for this module
Synopsis
class CommerceStockKeeping
extends ViewableData
{
- // members
- private static string $completion_status = "paid";
- private static boolean $allow_negative = true;
- private static boolean $allow_adding = false;
Hierarchy
Extends
- ViewableData
Members
private
- $allow_adding
—
boolean
Allow users to add items to cart if there is not enough stock? - $allow_negative
—
boolean
Should we track stock levels into the negative, if this is turned off, all product stock gets set to 0. - $completion_status
—
string
The status which an order must be given in order for it to perform a stock update.