count_contents() == 1){
$cart_text = '( ' . $_SESSION['cart']->count_contents() . ' item )';
} else {
$cart_text = '( ' . $_SESSION['cart']->count_contents() . ' items )';
}
?>
count_contents() > 0) {
$products = $_SESSION['cart']->get_products();
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()) . ' ';
}
else{
$content .=' ' . BOX_SHOPPING_CART_EMPTY . '
';
}
echo $content;?>