Source of file CommerceStockKeeping.php
Size: 0,714 Bytes - Last Modified: 2021-12-24T05:16:38+00:00
/var/www/docs.ssmods.com/process/src/code/CommerceStockKeeping.php
1234567891011121314151617181920212223242526272829303132333435 | <?php /** * Core config class for this module */ class CommerceStockKeeping extends ViewableData { /** * The status which an order must be given in order for it to * perform a stock update. * * @var string * @config */ private static $completion_status = "paid"; /** * Should we track stock levels into the negative, if this is * turned off, all product stock gets set to 0. * * @var boolean * @config */ private static $allow_negative = true; /** * Allow users to add items to cart if there is not enough stock? * * @var boolean * @config */ private static $allow_adding = false; } |