Unverified Commit 512e438b authored by AMIT KUMAR TIWARI's avatar AMIT KUMAR TIWARI Committed by GitHub
Browse files

Update ProductLazyArray.php

parent e1967cef
......@@ -613,6 +613,10 @@ class ProductLazyArray extends AbstractLazyArray
return false;
if (!$this->configuration->getBoolean('PS_STOCK_MANAGEMENT')) {
return false;
// Displayed only if the order of out of stock product is denied.
if ($product['out_of_stock'] == OutOfStockType::OUT_OF_STOCK_AVAILABLE
|| (
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment