SilverCart\Dev\Tasks\CleanDatabaseTask::updateAvailabilityByStock
Updates the availability status of products with a stock of <= 0 if stock management is enabled, the products stock is not overbookable and the products availability status is not the status with the 'SetForNegativeStock' property.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
Signature
protected function updateAvailabilityByStock()
Returns
- void