count_contents() > 0) {
$products = $_SESSION['cart']->get_products();
$content .='
';
for ($i=0, $n=sizeof($products); $i<$n; $i++) {
$product_amount = $products[$i]['quantity'] + $product_amount;
$content .= '
' . $products[$i]['name'] . '
' . $products[$i]['model'] . '
' . $products[$i]['quantity'] . ' x ' . $currencies->format($products[$i]['final_price']) . '
';
$content .= '
';
$content .= '
';
}
$content .= '
Total: ' .'' . $currencies->format($_SESSION['cart']->show_total()) . ' ';
$content .= '
';
}
else{
$content .=' ' . BOX_SHOPPING_CART_EMPTY . '
';
}
/* if ($_SESSION['cart']->count_contents() > 0) {
$content .= HEADER_CART_SUBTOTAL .'' . $currencies->format($_SESSION['cart']->show_total()) . '';
}*/
?>