// BO product list optimization

This commit is contained in:
tDidierjean
2012-03-15 09:51:16 +00:00
parent 34901c7070
commit 5b1cacca66
+2
View File
@@ -2273,6 +2273,8 @@ class ProductCore extends ObjectModel
if (!$id_cart && !isset($context->employee))
die(Tools::displayError());
$cur_cart = new Cart($id_cart);
// Store cart in context to avoid multiple instantiations in BO
$context->cart = $cur_cart;
}
$cart_quantity = 0;