count_contents() == 1){ $cart_text = ''; } else { $cart_text = ''; } ?> 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()) . '
' . BOX_HEADING_SHOPPING_CART . '' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '
'; } else{ $content .='
' . BOX_SHOPPING_CART_EMPTY . '
'; } echo $content;?>