<?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="banner-inner" style="background-image: url(<?php echo e(asset('storage/images/'.$banner->banner_image)); ?>);">
<div class="container">
<div class="row justify-content-center">
<div class="col-xl-11 col-12">
<div class="banner-txt">
<div class="col-lg-7 col-12 pe-lg-5">
<h1 class="theme-h1"><?php echo $banner->banner_description; ?></h1>
<ul>
<li><a href="<?php echo e(url('/')); ?>">Home</a></li>
<li><?php echo e($banner->banner_heading); ?></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="shop-sec sec-padding">
<div class="container">
<div class="row justify-content-center">
<div class="col-xl-11 col-12">
<div class="row align-items-center">
<div class="col-md-3 col-12">
<!-- <h4 class="shop-h4">price filter</h4> -->
</div>
<div class="col-md-9 col-12">
<ul class="layout-setup">
<li><?php echo e(count($products)); ?> products found</li>
<!-- <li>sort by</li>
<li>
<select>
<option value="Default">Default</option>
<option value="Default">Default</option>
<option value="Default">Default</option>
<option value="Default">Default</option>
</select>
</li> -->
<!-- <li>Show:
<ul>
<li><a class="active" href="javascript:;">12</a></li>
<li><a href="javascript:;">24</a></li>
<li><a href="javascript:;">36</a></li>
</ul>
</li>
<li>viewport:
<ul>
<li>
<a title="grid view" class="active" href="javascript:;"><i
class="fa-solid fa-grid"></i></a>
</li>
<li>
<a title="grid view" href="javascript:;"><i
class="fa-solid fa-grid-2"></i></a>
</li>
<li>
<a title="list view" href="javascript:;"><i
class="fa-solid fa-list"></i></a>
</li>
</ul>
</li> -->
</ul>
</div>
</div>
<div class="row">
<div class="col-md-3 col-12 pe-xl-5 pe-lg-3">
<!-- <div class="price-range"></div> -->
<!-- <label class="prc-lbl">Range: <span></span></label> -->
<h5 class="shop-h5">shop by category</h5>
<ul class="categories">
<li><a href="<?php echo e(url('/shop')); ?>">All</a></li>
<?php $__currentLoopData = $shopbycat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<!-- <li><a class="active" href="javascript:;">All</a></li> -->
<li><a href="<?php echo e(url('/shop_category/'.$cat->category_id)); ?>"><?php echo e($cat->category_heading); ?></a></li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
</div>
<div class="col-md-9 col-12">
<div class="products-listing">
<div class="row gx-3 gy-4">
<?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $pro): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<div class="col-lg-4 col-md-6 col-12">
<a href="<?php echo e(url('/product_detail'.$pro->product_id)); ?>">
<div class="product-card">
<div class="prd-img">
<?php if($pro->product_category_id == 3): ?>
<img class="img-fluid" id="salebadgeshop" src="<?php echo e(asset('asset/front_asset/images/sale.png')); ?>" alt="">
<?php elseif($pro->product_category_id == 5): ?>
<img class="img-fluid" id="comingsoonshop" src="<?php echo e(asset('storage/images/coming_soon.png')); ?>" alt="">
<?php endif; ?>
<img class="img-fluid" src="<?php echo e(asset('storage/images/'.$pro->product_image)); ?>" alt="">
</div>
<div class="prd-cntnt">
<h5 class="theme-h5"><?php echo e($pro->product_front_title); ?></h5>
<?php if(auth::user()): ?>
<?php if($pro->product_category_id == 3 || $pro->product_category_id == 5): ?>
<h5 class="prd-prc">$<?php echo e($pro->product_selling_price); ?>.00</h5>
<?php else: ?>
<!--<h5 class="prd-prc">Starting at $<?php echo e($pro->product_selling_price); ?></h5>-->
<h5 class="prd-prc"><?php echo e($pro->product_sub_heading); ?></h5>
<?php endif; ?>
<?php else: ?>
<?php if($pro->product_category_id == 3 || $pro->product_category_id == 5): ?>
<h5 class="prd-prc">$<?php echo e($pro->product_selling_price); ?>.00</h5>
<?php else: ?>
<!--<h5 class="prd-prc">Starting at $<?php echo e($pro->product_origional_price); ?></h5>-->
<h5 class="prd-prc"><?php echo e($pro->product_sub_heading); ?></h5>
<?php endif; ?>
<?php endif; ?>
<a href="<?php echo e(url('/product_detail'.$pro->product_id)); ?>" class="theme-btn">view details</a>
</div>
</div>
</a>
</div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</div>
</div>
</div>
</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_category.blade.php ENDPATH**/ ?>