<?php $wishlist_page = false; ?> <?php if(isset($page)): ?> <?php if($page === 'wishlist'): ?> <?php $wishlist_page = true; ?> <?php endif; ?> <?php endif; ?> <div class="tab-pane active " id="grid-container"> <div class="category-product"> <div class="row"> <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-sm-6 col-md-4 wow fadeInUp custom_product_div"> <div class="products"> <div class="product"> <?php echo $__env->make('includes.products.product-image-tag-section', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php if($wishlist_page): ?> <p class="text-muted"> ( <?php echo app('translator')->getFromJson('Added'); ?> <?php echo e($product->pivot->created_at->diffforHumans()); ?> )</p> <?php endif; ?> <?php echo $__env->make('includes.products.product-info-price-section', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php echo $__env->make('includes.animated-cart-wishlist-btn',['wishlist_page',$wishlist_page], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div>