Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Security Level: All-users
-
Labels:None
-
Similar issues:
PSCFI-1013Bad Out of stock informationPSCFI-1977Some products show out of stock on product page when they are in stockPSCFI-3570Wrong message of out of stockPSCFI-1706The category page lists products as 'out of stock', when only the products default option is out of stock.PSCFI-1958Some Products showing out of stock on product page when they are in stockPSCFI-931Add to cart is not disabled when �Out of stockPSCFI-6591Stock management toggle disables 'When out of stock' optionPSCFI-1543"out of stock" condition may not be EXACTLY zero
Description
When we turned off the stock management, the mail "Currently out of stock" is always sent.
Hi Sylvain,
Thanks for your feedback, I just solved this.
Line 354 in classes/PaymentModule.php is now:
if (isset($outOfStock) && $outOfStock && Configuration::get('PS_STOCK_MANAGEMENT'))Regards,
if (isset($outOfStock) && $outOfStock && Configuration::get('PS_STOCK_MANAGEMENT'))