Viewing file: 0851f34ba03a101dfefb7cb1070275f6.php (12.3 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startPush('css'); ?>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('frontend')); ?>/css/smk-accordion.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('frontend')); ?>/css/shopping-table.css">
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('frontend')); ?>/css/shop-listing2.css">
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
<!--==== START BREADCUMB ====-->
<section class="page-crumb">
<ul class="cd-breadcrumb">
<li><a href="<?php echo e(url('/')); ?>"><?php echo e(__('homepage')['title']); ?></a></li>
<li class="current"><?php echo e(__('cart')['title']); ?></li>
</ul>
</section>
<!--==== END BREADCUMB ====-->
<!--==== START PRODUCT LISTING ====-->
<section class="" id="shop-listing">
<?php if($status == 1): ?>
<!-- Shopping cart -->
<div class="shopping-wrapper">
<div class="shop-left">
<div class="shopping-cart">
<div class="column-labels text-center">
<label class="product-image"><?php echo e(__('cart')['image']); ?></label>
<label class="product-details"><?php echo e(__('cart')['product_name']); ?></label>
<label class="product-quantity"><?php echo e(__('order_details')['quantity']); ?></label>
<label class="product-price"><?php echo e(__('cart')['total_price']); ?></label>
</div>
<?php $__empty_1 = true; $__currentLoopData = $cartData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
<div class="product cart<?php echo e($value['cart_id']); ?>">
<button onclick="deleteCart(this,'<?php echo e($value['cart_id']); ?>')" class="remove" aria-label="Remove this item" title="Delete Item From Cart" style="border:0; z-index: 11;">×</button>
<div class="product-image">
<img class="lazy" data-original="<?php echo e(asset('uploads')); ?>/product/<?php echo e($value['image']); ?>" class="product-thumbnail-img" alt="Men Pants 01" >
</div>
<div class="product-details product-name shoppingcart">
<a href="<?php echo e(route('product.details',['id' => $value['pid']])); ?>" class="product-title text-center"><?php echo e($value['name']); ?></a>
<div class="product-info">
<div class="d-flex justify-content-center cart-product-detail mx-5 my-2 my-md-0 my-lg-0 my-xl-0">
<span class="w-50 cart-label-left"><?php echo e(__('product_details')['model']); ?>:</span>
<span class="w-50 cart-label-right"><?php echo e($value['model']); ?></span>
</div>
</div>
<div class="product-info">
<div class="d-flex justify-content-center cart-product-detail my-2 my-md-0 my-lg-0 my-xl-0 mx-5">
<span class="w-50 cart-label-left"><?php echo e(__('cart')['unit_price']); ?>:</span>
<span class="w-50 cart-label-right unitprice<?php echo e($value['cart_id']); ?>"><?php echo e(config('settingConfig.config_currency')); ?><?php echo e($value['price']); ?></span>
</div>
</div>
<?php if(isset($value['options']) && count($value['options']) > 0): ?>
<?php $__currentLoopData = $value['options']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="product-info">
<div class="d-flex justify-content-center mx-5">
<span class="w-50 cart-label-left"><?php echo e($option['name']); ?>:</span>
<span class="w-50 cart-label-right"><?php echo e($option['label']); ?> <?php if($option['price'] > 0 ): ?>(+<?php echo e(config('settingConfig.config_currency')); ?><?php echo e($option['price']); ?>)<?php endif; ?></span>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
</div>
<div class="product-quantity ">
<div class="quantitybox2">
<div class="quantity2">
<label class="screen-reader-text" >Sponge Float dense sponge 40mm with long edge quantity</label>
<input type="number" class="input-text qty text" step="1" min="1" max="100" name="quantity" value="<?php echo e($value['quantity']); ?>" title="Qty" size="4" placeholder="" inputmode="numeric" />
</div>
<div class="value-button2 increase" onclick="increaseValue($(this))" value="Increase Value">
<i class="fa fa-angle-up" aria-hidden="true"></i>
</div>
<div class="value-button2 decrease" onclick="decreaseValue($(this))" value="Decrease Value">
<i class="fa fa-angle-down" aria-hidden="true"></i>
</div>
</div>
<button onclick="updateQty(this,'<?php echo e($value['cart_id']); ?>')" class="quantity-referesh" style="border:0;"><img src="<?php echo e(asset('frontend')); ?>/images/spinner.png" alt="" title="" /> </button>
</div>
<div class="product-price">
<span class="product-price-amount mx-3 amount totalPrice<?php echo e($value['cart_id']); ?>"><?php echo e(config('settingConfig.config_currency')); ?><?php echo e($value['totalPrice']); ?></span>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
<?php endif; ?>
<div class="text-left">
<a href="<?php echo e(url('/')); ?>" class="button-white"><?php echo e(__('checkout')['continue_shopping']); ?></a>
</div>
</div>
</div>
<div class="shop-right">
<div class="summary-detail shipping-detail">
<div class="shipping-summary">
<div class="heading-md heading-line head-line"><?php echo e(__('checkout')['order_summary']); ?></div>
<div class="shipping-accordion">
<div class="accordion_in">
<div class="acc_head">
<h3><?php echo e(__('cart')['enter_coupon']); ?></h3>
</div>
<div class="acc_content">
<form action="#" class="coupon_input">
<input type="text" class="form-control" id="coupon_input" placeholder="<?php echo e(__('cart')['enter_coupon']); ?>" value="<?php if($couponData): ?> <?php echo e($couponData->coupon_code); ?> <?php endif; ?>">
<input type="submit" onClick='applyCoupon()' value="<?php echo e(__('cart')['apply']); ?>" class="btn-subscribe">
</form>
</div>
</div>
</div>
</div>
<ul class="summary-total">
<li>
<div class="total-box">
<div class="summary-title"><?php echo e(__('cart')['sub_total']); ?>:</div>
<div class="summary-price subTotal"><?php echo e(config('settingConfig.config_currency')); ?><?php echo e($subTotal); ?></div>
</div>
</li>
<li>
<div class="total-box">
<div class="summary-title"><?php echo e(__('order_details')['tax']); ?>:</div>
<div class="summary-price taxAmt"><?php echo e(config('settingConfig.config_currency')); ?><?php echo e($taxes['taxAmount']); ?></div>
</div>
</li>
<li>
<div class="total-box discount-box">
<div class="summary-title"><?php echo e(__('order_details')['discount']); ?>:</div>
<div class="summary-price discountAmt"><?php echo e(config('settingConfig.config_currency')); ?><?php echo e(number_format($discountAMT,2)); ?></div>
</div>
</li>
<li>
<div class="total-box grand-total">
<div class="summary-title"><?php echo e(__('cart')['grand_total']); ?>:</div>
<div class="summary-price grandTotal"> <?php echo e(config('settingConfig.config_currency')); ?><?php echo e($grandTotal); ?> </div>
</div>
</li>
</ul>
<div class="summary-massage ">
<div class="discount-message <?php if(!$couponData): ?> d-none <?php endif; ?>">
<?php if($couponData): ?>
You Save <?php echo e(number_format($discountAMT,2)); ?>
<?php if($couponData->coupon_type == 1): ?>
(discount <?php echo e(config('settingConfig.config_currency')); ?><?php echo e(number_format($couponData->amount,2)); ?>%)
<?php endif; ?>
<?php endif; ?>
</div>
<a href="<?php echo e(route('checkout')); ?>" class="button-block button-place"><?php echo e(__('cart')['checkout']); ?></a>
</div>
</div>
</div>
</div>
<!-- Shopping cart -->
<?php endif; ?>
<div class="text-center empty-cart <?php if($status == 1): ?> d-none <?php endif; ?> ">
<img src="<?php echo e(asset('frontend')); ?>/images/empty-cart.png" alt="empty-cart" >
<h3 class="notfoundtxt mt-5"><?php echo e(__('cart')['empty']); ?></h3>
<a href="<?php echo e(url('/')); ?>" class="button-block my-5"> <?php echo e(__('cart')['shop_now']); ?> </a>
</div>
</section>
<!--==== END PRODUCT LISTING ====-->
<?php $__env->stopSection(); ?>
<!-- JS (ADD HERE TO REDUCE PAGE LOAD) -->
<?php $__env->startPush('js'); ?>
<script type="text/javascript" src="<?php echo e(asset('frontend')); ?>/js/table.js"></script>
<script type="text/javascript" src="<?php echo e(asset('frontend')); ?>/js/smk-accordion.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".shipping-accordion").smk_Accordion({
closeAble: true, //boolean
//closeOther: false, //boolean
activeIndex: 1 //second section open
});
});
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('frontend.layouts.app', ['class' => 'bg-white'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/smabmart/public_html/resources/views/frontend/cart/shoppingcart.blade.php ENDPATH**/ ?>
|