Viewing file: 0de894e3c53c0e073962a2877f20bdd1.php (4.54 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div class="col-xl-3 col-lg-4">
<aside class="sidebar">
<div class="padding-top-2x hidden-lg-up"></div>
<!-- Order Summary Widget-->
<section class="card widget widget-featured-posts widget-order-summary p-4">
<h3 class="widget-title"><?php echo e(__('Order Summary')); ?></h3>
<?php
$free_shipping = DB::table('shipping_services')->whereStatus(1)->whereIsCondition(1)->first()
?>
<?php if($free_shipping): ?>
<?php if($free_shipping->minimum_price >= $cart_total): ?>
<p class="free-shippin-aa"><em><?php echo e(__('Free Shipping After Order')); ?> <?php echo e(PriceHelper::setCurrencyPrice($free_shipping->minimum_price)); ?></em></p>
<?php endif; ?>
<?php endif; ?>
<table class="table">
<tr>
<td><?php echo e(__('Cart subtotal')); ?>:</td>
<td class="text-gray-dark"><?php echo e(PriceHelper::setCurrencyPrice($cart_total)); ?></td>
</tr>
<?php if($tax != 0): ?>
<tr>
<td><?php echo e(__('Estimated tax')); ?>:</td>
<td class="text-gray-dark"><?php echo e(PriceHelper::setCurrencyPrice($tax)); ?></td>
</tr>
<?php endif; ?>
<?php if(DB::table('states')->count() > 0): ?>
<tr class="<?php echo e(Auth::check() && Auth::user()->state_id ? '' : 'd-none'); ?> set__state_price_tr">
<td><?php echo e(__('State tax')); ?>:</td>
<td class="text-gray-dark set__state_price"><?php echo e(PriceHelper::setCurrencyPrice(Auth::check() && Auth::user()->state_id ? ($cart_total*Auth::user()->state->price/100 ): 0)); ?></td>
</tr>
<?php endif; ?>
<?php if($discount): ?>
<tr>
<td><?php echo e(__('Coupon discount')); ?>:</td>
<td class="text-danger">- <?php echo e(PriceHelper::setCurrencyPrice($discount ? $discount['discount'] : 0)); ?></td>
</tr>
<?php endif; ?>
<?php if($shipping): ?>
<tr class="d-none set__shipping_price_tr">
<td><?php echo e(__('Shipping')); ?>:</td>
<td class="text-gray-dark set__shipping_price"><?php echo e(PriceHelper::setCurrencyPrice($shipping ? $shipping->price : 0)); ?></td>
</tr>
<?php endif; ?>
<tr>
<td class="text-lg text-primary"><?php echo e(__('Order total')); ?></td>
<td class="text-lg text-primary grand_total_set"><?php echo e(PriceHelper::setCurrencyPrice($grand_total)); ?></td>
</tr>
</table>
</section>
<!-- Items in Cart Widget-->
<section class="card widget widget-featured-posts widget-featured-products p-4">
<h3 class="widget-title"><?php echo e(__('Items In Your Cart')); ?></h3>
<?php $__currentLoopData = $cart; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="entry">
<div class="entry-thumb"><a href="<?php echo e(route('front.product.solo',$item['slug'])); ?>"><img src="<?php echo e(asset('assets/images/'.$item['photo'])); ?>" alt="Product"></a></div>
<div class="entry-content">
<h4 class="entry-title"><a href="<?php echo e(route('front.product.solo',$item['slug'])); ?>">
<?php echo e(Str::limit($item['name'], 45)); ?>
</a></h4>
<span class="entry-meta"><?php echo e($item['qty']); ?> x <?php echo e(PriceHelper::setCurrencyPrice($item['main_price'])); ?></span>
<?php $__currentLoopData = $item['attribute']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $optionkey => $option_name): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<span class="entry-meta"><b><?php echo e($option_name['name']); ?></b> : <?php echo e(PriceHelper::setCurrencySign()); ?><?php echo e($option_name['price']); ?></span>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</section>
</aside>
</div>
<?php /**PATH E:\ecommerce1\core\resources\views/includes/checkout_sitebar.blade.php ENDPATH**/ ?>
|