hjkhjkjhkhjkgjghjhgjhgjghjhghjghjhgjjnbvnvbnvk
bnmbnmbnhjkhjkhjkhjktyutyutyuytutyutyutyhgjgjghjgjghjguytutyry
/
home
/
b4h4ej4a6kj6
/
public_html
/
kitsandcleats.in
/
Upload FileeE
HOME
<?php include('header.php'); // print_r($_SESSION); ?> <!-- breadcrumb start --> <section class="about-breadcrumb"> <div class="about-back section-tb-padding" style="background-image: url(assets/image/about-image.jpg)"> <div class="container"> <div class="row"> <div class="col"> <div class="about-l"> <ul class="about-link"> <li class="go-home"><a href="<?php echo base_url; ?>">Home</a></li> <li class="about-p"><span>Shopping Cart</span></li> </ul> </div> </div> </div> </div> </div> </section> <!-- breadcrumb end --> <?php if($cart){ ?> <section class="cart-page section-tb-padding"> <div class="container"> <div class="row"> <div class="col-xl-9 col-xs-12 col-sm-12 col-md-12 col-lg-8"> <?php $w = "where sess_id = '".$_SESSION['unique_id']."' or sess_id = '".$user['id']."'"; // $w = "where sess_id = '".$_SESSION['unique_id']."'"; $carts = $obj->getList('cart',$w); foreach($carts as $cart){ // print_r($cart); ?> <div class="cart-area"> <form method="post" class="cart-form"> <div class="cart-details"> <!-- <div class="cart-item"> <span class="cart-head">My cart:</span> </div> --> <div class="cart-all-pro"> <div class="cart-pro"> <div class="cart-pro-image"> <a href="product.html"><img width="100" height="100" src="admin/images/products/<?php echo $cart['product_image']; ?>" class="img-fluid" alt="image"></a> </div> <div class="pro-details"> <h4><a href="product.html"><?php echo $cart['product_name']; ?></a></h4> <!-- <span class="pro-size"><span class="size">Size:</span> 5kg</span> --> <span class="cart-pro-price">₹<?php echo $cart['product_price']; ?></span> </div> </div> <div class="qty-item"> <div class="center"> <div class="plus-minus"> <span> <button type="button" class="minus-btn text-black">-</button> <!-- <a href="javascript:void(0)" class="minus-btn text-black">-</a> --> <input type="text" name="name" class="qty_num" value="<?php echo $cart['qty']; ?>"> <!-- <a href="javascript:void(0)" class="plus-btn text-black">+</a> --> <button type="button" class="plus-btn text-black">+</button> </span> </div> <a href="javascript:void(0)" class="pro-remove">Remove</a> </div> </div> <div class="all-pro-price"> <span class="updated_price">£<?php echo $price = $cart['total_price'];?> </span> </div> </div> </div> <input type="hidden" class="sess_id" value="<?php echo $cart['sess_id']; ?>"> <input type="hidden" class="prod_id" value="<?php echo $cart['product_code']; ?>"> <input type="hidden" class="prod_name" value="<?php echo $cart['product_name']; ?>"> <input type="hidden" class="prod_image" value="<?php echo $cart['product_image']; ?>"> <input type="hidden" class="prod_price" value="<?php echo $cart['product_price']; ?>"> <input type="hidden" class="prod_tprice" value="<?php echo $cart['total_price']; ?>"> </form> </div> <?php $grand_total += $cart['total_price']; } ?> </div> <div class="col-xl-3 col-xs-12 col-sm-12 col-md-12 col-lg-4"> <div class="cart-total"> <!-- <div class="cart-price"> <span>Subtotal</span> <span class="total">£<?php echo $grand_total; ?></span> </div> --> <?php if($grand_total){ ?> <div class="shop-total"> <span>Total</span> <span class="total-amount">₹<?php echo $grand_total; ?></span> </div> <?php } ?> <?php if($grand_total >1){ ?> <a href="checkout.php" class="check-link" >Checkout</a> <?php }else{ ?> <a href="<?php echo base_url; ?>" class="check-link" >Continue Shopping</a> <?php } ?> </div> </div> </div> </div> </section> <?php } else{?> <section class="cart-page section-tb-padding"> <div class="container"> <div class="row"> <div class="col-12 p-5"> <div class="card p-5"> <h4 class="text-center p-5">Sorry, but there are no products in your cart at the moment.</h4> </div> </div> </div> </div> </section> <?php } ?> <!-- footer start --> <?php include('footer.php'); ?>