<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(__('অর্ডার ইনফরমেশন')); ?></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 Ater 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>
                <td><?php echo e(__('Shipping')); ?>:</td>
                <td class="text-gray-dark" id="shipping_price" data-price="<?php echo e(PriceHelper::setCurrencyPrice($shipping ? $shipping->price : 0)); ?>"><?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" data-grand_total="<?php echo e(PriceHelper::setCurrencyPrice($grand_total)); ?>" id="grand_total"><?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(__('প্রোডাক্ট ইনফরমেশন')); ?></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',$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',$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']['option_name']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $optionkey => $option_name): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <span class="entry-meta"><b><?php echo e($option_name); ?></b> : <?php echo e(PriceHelper::setCurrencySign()); ?><?php echo e($item['attribute']['option_price'][$optionkey]); ?></span>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
         </div>
        </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

      </section>


    </aside>
  </div>
<?php /**PATH /home/sandsmhe/public_html/core/resources/views/includes/checkout_sitebar.blade.php ENDPATH**/ ?>