<?php $__env->startSection('title', 'Cart'); ?>
<?php $__env->startSection('content'); ?>
    <div class="breadcrumb-area pt-20 pb-20" style="background-image: url('<?php echo e(asset('frontend/img/bg/16.jpg')); ?>')">
        <div class="container">
            <div class="breadcrumb-content text-center">
                <h2 class="text-dark">Cart</h2>
                <ul>
                    <li><a href="<?php echo e(route('home')); ?>" class="text-dark">home</a></li>
                    <li class="text-secondary"> cart</li>
                </ul>
            </div>
        </div>
    </div>
    <div class="cart-main-area pt-5 mb-5">
        <div class="container">
            <!-- cart item area -->
            <div class="row">
                <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
                    <form action="#">
                        <div class="table-content table-responsive">
                            <table class="table table-condensed">
                                <thead>
                                <tr>
                                    <th><?php echo e(__("Image")); ?></th>
                                    <th><?php echo e(__("Product")); ?></th>
                                    <th><?php echo e(__('Price')); ?></th>
                                    <th><?php echo e(__("Quantity")); ?></th>
                                    <th><?php echo e(__("Total")); ?></th>
                                    <th></th>
                                </tr>
                                </thead>
                                <tbody>
                                <?php $__currentLoopData = Cart::instance('default')->content(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php
if (! isset($_instance)) {
    $html = \Livewire\Livewire::mount('frontend.cart.cart-item-component', ['item' => $item->rowId])->html();
} elseif ($_instance->childHasBeenRendered($item->rowId)) {
    $componentId = $_instance->getRenderedChildComponentId($item->rowId);
    $componentTag = $_instance->getRenderedChildComponentTagName($item->rowId);
    $html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
    $_instance->preserveRenderedChild($item->rowId);
} else {
    $response = \Livewire\Livewire::mount('frontend.cart.cart-item-component', ['item' => $item->rowId]);
    $html = $response->html();
    $_instance->logRenderedChild($item->rowId, $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php
if (! isset($_instance)) {
    $html = \Livewire\Livewire::mount('frontend.message.cart-not-found-component', [])->html();
} elseif ($_instance->childHasBeenRendered('aRgWuC1')) {
    $componentId = $_instance->getRenderedChildComponentId('aRgWuC1');
    $componentTag = $_instance->getRenderedChildComponentTagName('aRgWuC1');
    $html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
    $_instance->preserveRenderedChild('aRgWuC1');
} else {
    $response = \Livewire\Livewire::mount('frontend.message.cart-not-found-component', []);
    $html = $response->html();
    $_instance->logRenderedChild('aRgWuC1', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
                                </tbody>
                            </table>
                        </div>
                    </form>
                </div>
            </div>

            <!-- cart total -->
            <div class="row">
                <?php
if (! isset($_instance)) {
    $html = \Livewire\Livewire::mount('frontend.cart.cart-total-component', [])->html();
} elseif ($_instance->childHasBeenRendered('1Mp2PCs')) {
    $componentId = $_instance->getRenderedChildComponentId('1Mp2PCs');
    $componentTag = $_instance->getRenderedChildComponentTagName('1Mp2PCs');
    $html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
    $_instance->preserveRenderedChild('1Mp2PCs');
} else {
    $response = \Livewire\Livewire::mount('frontend.cart.cart-total-component', []);
    $html = $response->html();
    $_instance->logRenderedChild('1Mp2PCs', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
            </div>
            <div class="row">
                <div class="col-md-4 ">
                    <a href="<?php echo e(route('shop.index')); ?>"
                       class="btn btn-link text-decoration-none text-dark">
                        <i class="fas fa-long-arrow-alt-left mr-1"></i>
                       <?php echo e(__("Continue to shopping")); ?>

                    </a>
                </div>
                <?php if(Cart::instance('default')->count()): ?>
                    <div class="col-md-4 ">
                        <?php
if (! isset($_instance)) {
    $html = \Livewire\Livewire::mount('frontend.button.proceed-checkout-button-component', [])->html();
} elseif ($_instance->childHasBeenRendered('H3sbvfp')) {
    $componentId = $_instance->getRenderedChildComponentId('H3sbvfp');
    $componentTag = $_instance->getRenderedChildComponentTagName('H3sbvfp');
    $html = \Livewire\Livewire::dummyMount($componentId, $componentTag);
    $_instance->preserveRenderedChild('H3sbvfp');
} else {
    $response = \Livewire\Livewire::mount('frontend.button.proceed-checkout-button-component', []);
    $html = $response->html();
    $_instance->logRenderedChild('H3sbvfp', $response->id(), \Livewire\Livewire::getRootElementTagName($html));
}
echo $html;
?>
                    </div>
                <?php endif; ?>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/lekruu/public_html/resources/views/frontend/cart/index.blade.php ENDPATH**/ ?>