// Merge -> revision 8342
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8344 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -104,7 +104,7 @@ class DateOfDelivery extends Module
|
||||
|
||||
$oos = false; // For out of stock management
|
||||
foreach ($params['cart']->getProducts() as $product)
|
||||
if ($product['quantity'] <= 0 OR ($product['quantity_attribute'] <= 0 AND $product['id_product_attribute']))
|
||||
if ($product['stock_quantity'] <= 0 OR ($product['quantity_attribute'] <= 0 AND $product['id_product_attribute']))
|
||||
$oos = true;
|
||||
|
||||
$datesDelivery = array();
|
||||
|
||||
Reference in New Issue
Block a user