<?php $__env->startSection('content'); ?>






<div class="breadcrumbs">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <ul>
                    <li><a href="<?php echo route('home'); ?>">Home</a></li>
                    
                    <li class="active">Cart</li>
                </ul><!-- end breadcrumb -->
            </div><!-- end col -->
        </div><!-- end row -->
    </div><!-- end container -->
</div><!-- end breadcrumbs -->


    <div class="flash-message">
        <?php $__currentLoopData = ['danger', 'warning', 'success', 'info']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $msg): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if(Session::has('alert-' . $msg)): ?>
                <p style="text-align: center" class="alert alert-<?php echo e($msg); ?>"><?php echo e(Session::get('alert-' . $msg)); ?> <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a></p>
            <?php endif; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div> <!-- end .flash-message -->

    <div class="container">
        <div class="row m-b-20 ">
            <h1>Your Shopping cart
                <span class="text text-info text-small">[<?php echo e(array_get($cart['cart'], 'total_products') > 1 ? array_get($cart['cart'], 'total_products') .' '. str_plural('item') : array_get($cart['cart'], 'total_products') .' '. str_singular('items')); ?>

                    ]</span>
            </h1>
            <hr/>
            <div class="col-md-4">
                <?php echo Form::open(['url' => route('cart.removeAllProducts'), 'method' => 'DELETE', 'data-remote']); ?>

                <button class="btn btn-warning p-all-10" type="submit" data-confirm="Are you sure you want to do this?">
                    <i class="fa fa-trash"></i>&nbsp;Empty cart
                </button>
                <?php echo Form::close(); ?>


            </div>
            <?php echo $__env->make('_partials.Checkout.displayCheckoutButton', ['offset' => 4], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
            <?php echo $__env->make('_partials.forms.cart.shopping-cart-data', ['includePromoSection' => true, 'useAjax' => true, 'ignoreParentDiv' => false, 'displayOrderSummary' => true], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        </div>
        <hr/>

        <h2>View more products below</h2>
        <section class="section m-b-20 ">
            <h2 class="section-title">Featured Tablets</h2>

            
        </section>
    </div>

    <script>
        $(function() {
            setInterval(function(){
                $('.alert').slideUp(500);
            }, 2000);
        });
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.english.pagemaster', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>