/
home
/
sjslayjy
/
public_html
/
theweavenest
/
storage
/
framework
/
views
/
Upload File
HOME
<?php $__env->startSection('page_title', 'product_cat'); ?> <?php $__env->startSection('content'); ?> <section class="page-header"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="content"> <ol class="breadcrumb"> <li><a href="/">Home</a></li> <li class="active">Products</li> </ol> </div> </div> </div> </div> </section> <section class="products section"> <div class="container"> <div class="row"> <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-md-4"> <div class="product-item"> <a href="<?php echo e(url('single_product/show', ['id' => $product->id])); ?>"> <div class="product-thumb"> <!-- Check if the product is on sale --> <?php if($product->is_promo): ?> <span class="badge">Sale</span> <?php endif; ?> <!-- Product image --> <a href="<?php echo e(url('single_product/show', [' ' => $product->id])); ?>"> <img class="img-responsive" src="<?php echo e(asset('storage/media/' . $product->image)); ?>" alt="<?php echo e($product->name); ?>" > </a> <div class="preview-meta"> <ul> <!-- View detail icon --> <li> <span data-toggle="modal" data-target="#product-modal-<?php echo e($product->id); ?>"> <i class="tf-ion-ios-search-strong"></i> </span> </li> <!-- Add to favorites icon --> <li> <a href="#!"><i class="tf-ion-ios-heart"></i></a> </li> <!-- Add to cart icon --> <li> <a href="<?php echo e(url('single_product/show', ['id' => $product->id])); ?>"> <i class="tf-ion-android-cart"></i> </a> </li> </ul> </div> </div> </a> <div class="product-content"> <!-- Product name and link --> <h4><a href="<?php echo e(url('single_product/show', ['id' => $product->id])); ?>"><?php echo e($product->name); ?></a></h4> <!-- Product price --> <p class="price">Price: <?php echo e($product->attr_price); ?></p> <!-- MRP --> <p class="mrp" style="text-decoration: line-through;">MRP: ₹<?php echo e($product->attr_mrp); ?></p> </div> </div> </div> <!-- Modal --> <div class="modal product-modal fade" id="product-modal-<?php echo e($product->id); ?>"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <i class="tf-ion-close"></i> </button> <div class="modal-dialog " role="document"> <div class="modal-content"> <div class="modal-body"> <div class="row"> <div class="col-md-8 col-sm-6 col-xs-12"> <div class="modal-image"> <img class="img-responsive" src="<?php echo e(asset('storage/media/' . $product->image)); ?>" alt="<?php echo e($product->name); ?>" /> </div> </div> <div class="col-md-4 col-sm-6 col-xs-12"> <div class="product-short-details"> <h2 class="product-title"><?php echo e($product->name); ?></h2> <p class="product-mrp">MRP: ₹<?php echo e($product->attr_mrp); ?></p> <p class="product-price">Price: ₹<?php echo e($product->attr_price); ?></p> <p class="product-short-description"><?php echo e($product->short_desc); ?></p> <!-- You can add functionality for adding to cart and viewing product details --> </div> </div> </div> </div> </div> </div> </div><!-- /.modal --> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </section> <?php $__env->stopSection(); ?> <?php echo $__env->make('front.layout_alt', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laravel_projecgts\ajay\resources\views/front/product_cat.blade.php ENDPATH**/ ?>