// Fix product quantity
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11689 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -3496,6 +3496,9 @@ class ProductCore extends ObjectModel
|
||||
isset($row['cache_is_pack']) ? $row['cache_is_pack'] : null
|
||||
);
|
||||
}
|
||||
else
|
||||
$row['quantity'] = Product::getQuantity((int)$row['id_product']);
|
||||
|
||||
$row['id_image'] = Product::defineProductImage($row, $id_lang);
|
||||
$row['features'] = Product::getFrontFeaturesStatic((int)$id_lang, $row['id_product']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user