<?php $__env->startSection('title', 'فروشگاه محصولات'); ?>
<?php $__env->startSection('css'); ?>
    <link href="<?php echo e(asset('libs/ion-rangeslider/css/ion.rangeSlider.min.css')); ?>" rel="stylesheet" type="text/css" />
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-12">
            <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                <h4 class="mb-sm-0 font-size-18">فروشگاه محصولات</h4>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-3">
            <div class="card">
                <div class="card-body">
                    <h4 class="card-title mb-4">فیلتر بر اساس</h4>
                    <div>
                        <h5 class="font-size-14 mb-3">دسته بندی</h5>
                        <ul class="list-unstyled product-list">
                            <li>
                                <a href="<?php echo e(asset('')); ?>products">
                                    <i class="mdi mdi-chevron-right me-1"></i>
                                    نمایش همه
                                </a>
                            </li>
                            <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li>
                                    <a href="<?php echo e(asset('')); ?>products?category=<?php echo e($category->id . '-' . $category->title); ?>">
                                        <i class="mdi mdi-chevron-right me-1"></i>
                                        <?php echo e($category->title); ?>

                                    </a>
                                </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                    </div>








                </div>
            </div>
        </div>
        <div class="col-lg-9">
            <div class="row">
                <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-xl-4 col-sm-6">
                        <div class="card">
                            <div class="card-body">
                                <div class="product-img position-relative">
                                    <img src="<?php echo e(asset($product->image)); ?>" alt="" class="img-fluid mx-auto d-block">
                                </div>
                                <div class="mt-4 text-center">
                                    <h5 class="mb-3 text-truncate">
                                        <a href="<?php echo e(asset('')); ?>product/<?php echo e($product->id . '-' .  $product->title); ?>" class="text-dark"><?php echo e($product->title); ?></a>
                                    </h5>
                                    <h5 class="my-0"><?php echo e(number_format($product->product_price)); ?> تومان</h5>
                                </div>
                            </div>
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

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

<?php echo $__env->make('user.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/towinex/engine/resources/views/user/ecommerce/products.blade.php ENDPATH**/ ?>