[*] FO : cart summary is adapted to cart rules with a special "friendly" display

This commit is contained in:
dMetzger
2012-05-19 13:26:21 +00:00
parent f1144c2f12
commit 2c30a0e3f3
5 changed files with 79 additions and 32 deletions
+2
View File
@@ -80,6 +80,8 @@ class BlockCart extends Module
$totalToPayWithoutTaxes = $params['cart']->getOrderTotal(false);
$this->smarty->assign('tax_cost', Tools::displayPrice($totalToPay - $totalToPayWithoutTaxes, $currency));
}
// The cart content is altered for display
foreach ($cart_rules as &$cart_rule)
{
if ($cart_rule['free_shipping'])