<?php if (isset($component)) { $__componentOriginal7f8e1f0528d3ccf02b4e203e537febb53fee9473 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Main\Header::class, []); ?>
<?php $component->withName('main.header'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal7f8e1f0528d3ccf02b4e203e537febb53fee9473)): ?>
<?php $component = $__componentOriginal7f8e1f0528d3ccf02b4e203e537febb53fee9473; ?>
<?php unset($__componentOriginal7f8e1f0528d3ccf02b4e203e537febb53fee9473); ?>
<?php endif; ?>
<main class="shop-main">
<section class="levelup-pro">
<div class="container">
<div class="row">
<div class="col-12 col-md-5">
<div class="wrordp-product">
<ul>
<li>
<h3>All Products</h3>
</li>
<li><a href="<?php echo e(url('/')); ?>">Home</a></li>
</ul>
</div>
</div>
<div class="col-12 col-md-7">
<form id="categoryFilterForm" action="<?php echo e(route('shop.index')); ?>" method="GET">
<div class="product-sorting">
<ul class="lip-sorting">
<li>
<i class="fa-solid fa-arrow-up-wide-short storing"></i>
<label for="sorting">Sort By:</label>
<select name="sorting" id="sorting" class="simpler">
<option value="ascending">Ascending</option>
<option value="descending">Descending</option>
</select>
</li>
</ul>
<ul class="lip-sorting ser-adding">
<li>
<i class="fa-solid fa-arrow-down-wide-short storing"></i>
<label for="cars">Show Product:</label>
<select name="category" id="category" class="simpler">
<option value="all">All Categories</option>
<?php $__currentLoopData = $shopbycat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($category->category_id); ?>"><?php echo e($category->category_heading); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</li>
</ul>
</div>
</form>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<div class="row">
<div class="col-md-3 col-12">
<div class="life-cycle">
<h5>All Categories</h5>
<ul>
<?php $__currentLoopData = $shopbycat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li>
<a href="<?php echo e(route('shop_category', ['id' => $category->category_id])); ?>">
<?php echo e($category->category_heading); ?> <span>(<?php echo e($category->products_count); ?>)</span>
</a>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
<!-- <div class="life-cycle defect-resolve">
<h5>Find Breaking System</h5>
<ul>
<li><a href="javascript:;">Serums<span>(09)</span></a></li>
<li><a href="javascript:;">Oils<span>(09)</span></a></li>
<li><a href="javascript:;">Scrubs<span>(09)</span></a></li>
<li><a href="javascript:;"> Mists<span>(09)</span></a></li>
</ul>
</div> -->
</div>
<div class="col-md-9 col-12">
<div class="row g-4">
<?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-md-3 col-12">
<a href="<?php echo e(url('/product_detail/'.$pro->product_id)); ?>">
<div class="focus-tral">
<img src="<?php echo e(asset('storage/images/'.$pro->product_image)); ?>" class="img-fluid" alt="">
<?php if($pro->category): ?>
<p><?php echo e($pro->category->category_heading); ?></p>
<?php endif; ?>
<h6><?php echo e($pro->product_front_title); ?></h6>
<span>$<?php echo e($pro->product_origional_price); ?></span>
</div>
</a>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</div>
</section>
</main>
<?php if (isset($component)) { $__componentOriginalc4b07cf28b7f1e802225b60d159b9be2061c7516 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Main\Footer::class, []); ?>
<?php $component->withName('main.footer'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc4b07cf28b7f1e802225b60d159b9be2061c7516)): ?>
<?php $component = $__componentOriginalc4b07cf28b7f1e802225b60d159b9be2061c7516; ?>
<?php unset($__componentOriginalc4b07cf28b7f1e802225b60d159b9be2061c7516); ?>
<?php endif; ?><?php /**PATH D:\Qasim Khan\easy-buyer\resources\views/shop.blade.php ENDPATH**/ ?>