= FREE_SHIPPING_MIN ? 0 : SHIPPING_COST; $tax = ($cart_total * TAX_RATE) / 100; $discount = 0; if (isset($_SESSION['coupon'])) { $discount = calculate_discount($_SESSION['coupon'], $cart_total); if (isset($_GET['remove_coupon'])) { unset($_SESSION['coupon']); header('Location: ' . SITE_URL . 'pages/cart.php'); exit; } } $grand_total = $cart_total + $shipping_cost + $tax - $discount; ?>

Shopping Cart

0): ?>
0 ? $item['sale_price'] : $item['regular_price']; $item_total = $price * $item['quantity']; $image_url = SITE_URL . 'assets/images/no-image.jpg'; if (!empty($item['thumbnail'])) { if (file_exists(UPLOADS_PATH . 'products/' . $item['thumbnail'])) { $image_url = UPLOADS_URL . 'products/' . $item['thumbnail']; } elseif (file_exists(UPLOADS_PATH . 'settings/' . $item['thumbnail'])) { $image_url = UPLOADS_URL . 'settings/' . $item['thumbnail']; } } ?>
Product Price Quantity Total
Continue Shopping
applied! -

Cart Summary

Subtotal
Shipping 0 ? format_currency($shipping_cost) : 'FREE' ?>
Tax (%)
0): ?>
Discount -
Total
Proceed to Checkout Continue Shopping
Secure SSL Encrypted Checkout
30-Day Money Back Guarantee
Free Shipping over

Your cart is empty

Looks like you haven't added anything to your cart yet

Start Shopping