// Fix blockcart removing products

This commit is contained in:
mDeflotte
2011-12-21 18:09:48 +00:00
parent 91822544dc
commit 34c077fabb
4 changed files with 10 additions and 6 deletions
+2 -1
View File
@@ -94,7 +94,8 @@ class BlockCart extends Module
'product_total' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING), $currency),
'total' => Tools::displayPrice($totalToPay, $currency),
'order_process' => Configuration::get('PS_ORDER_PROCESS_TYPE') ? 'order-opc' : 'order',
'ajax_allowed' => (int)(Configuration::get('PS_BLOCK_CART_AJAX')) == 1 ? true : false
'ajax_allowed' => (int)(Configuration::get('PS_BLOCK_CART_AJAX')) == 1 ? true : false,
'static_token' => Tools::getToken(false)
));
if (sizeof($errors))
$this->smarty->assign('errors', $errors);