

<?php $__env->startSection('title'); ?>
Category Product
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>



<!--Category Logo Section Start-->
<section id="category-logo" class="py-5 mt-2">
    <div class="container">
        <div class="row">
            <div class="col-12">
                <div class="logo">
                    <?php if(isset($category_name->cat_logo)): ?>
                    <img src="<?php echo e(asset('uploads/category_logo')); ?>/<?php echo e($category_name->cat_logo); ?>" alt="Logo"/>
                    <?php endif; ?>
                    <p class="ml-3"><?php echo e($category_name->category_name); ?></p>
                </div>
            </div>
        </div>
    </div>
</section>
<!--Category Logo Section End-->



<section id="product-categories-alvi" class="my-3">
        <div class="container">
            <div class="row">
                <div class="col-12 text-center">
                    <h3 style="color: <?php echo e($color->color_code); ?>">All <?php if(isset($category_name->business_type)): ?> <?php else: ?> Items <?php endif; ?> <?php echo e((Illuminate\Support\Str::limit($category_name->category_name, 8))); ?> Products</h3>
                    <hr style="width:150px; height:3px; background:#333;margin:0 auto;"/>
                </div>
            </div>
            <div class="row my-5">
                <?php $__empty_1 = true; $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                <div class="col-md-3 my-2">
                    <div class="card">
                        <div class="card-body p-0 pb-0">
                            <div class="card-img">
                                <a href="<?php echo e(url('product_details')); ?>/<?php echo e($product->id); ?>"><img src="<?php echo e(asset('uploads/product')); ?>/<?php echo e($product->image); ?>" class="img-fluid" alt=""></a>
                            </div>
                            <div class="card-title d-block">
                                <a href="<?php echo e(url('product_details')); ?>/<?php echo e($product->id); ?>"><p class="text-center mt-3" style="color: <?php echo e($color->color_code); ?>"><?php echo e(Illuminate\Support\Str::limit($product->product_name, 20)); ?></p></a>
                                <div class="view-items">
                                    <a href="<?php echo e(url('product_details')); ?>/<?php echo e($product->id); ?>" class="btn btn-block">View Details</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                <div class="col-lg-12 no_product">
	                	<h5>No Items/Services Available</h5>
                </div>
                <?php endif; ?>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/shininga322/demo.shiningapparels.com/resources/views/frontend/category_product.blade.php ENDPATH**/ ?>