<?php if($isset_products): ?>
    <div class="">
        <div class="row">
            <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-lg-4">
                    <?php echo $__env->make('web.pages.components.products.card',['product'=>$row], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>

    <?php if(!($products->hasMorePages() == false && $products->currentPage() == 1)): ?>
        <div class="pagination-wrapper mt-4">
            <nav aria-label="Page navigation example">
                <ul class="pagination justify-content-center">
                    <?php if(!$products->onFirstPage()): ?>
                        <li class="page-item">
                            <button class="page-link" type="button" onclick="fetchPage(this)" data-id="<?php echo e($previous_page); ?>" aria-label="Previous">
                                <span aria-hidden="true">«</span>
                            </button>
                        </li>
                    <?php endif; ?>
                    <?php $__currentLoopData = $products->getUrlRange(1, $products->lastPage()); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $page => $url): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li class="page-item">
                            <button class="page-link <?php echo e($products->currentPage() == $page ? 'active' : ''); ?>" type="button" onclick="fetchPage(this)" data-id="<?php echo e($page); ?>"><?php echo e($page); ?></button>
                        </li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php if($products->hasMorePages()): ?>
                        <li class="page-item">
                            <button class="page-link" type="button" onclick="fetchPage(this)" data-id="<?php echo e($next_page); ?>" aria-label="Next">
                                <span aria-hidden="true">»</span>
                            </button>
                        </li>
                    <?php endif; ?>
                </ul>
            </nav>
        </div>
    <?php endif; ?>
<?php else: ?>
    <?php echo $__env->make('web.pages.components.not_found',['message'=>__('web.not_found_products')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endif; ?>
<?php /**PATH /Applications/MAMP/htdocs/flower/resources/views/web/pages/products/products_cards.blade.php ENDPATH**/ ?>