whoami7 - Manager
:
/
home
/
n170823s
/
.trash
/
storage
/
framework
/
views
/
Upload File:
files >> /home/n170823s/.trash/storage/framework/views/f2df0bdc5093dbb5b15d21dbf85d16d8.php
<?php $__env->startSection('content'); ?> <div class="tf-product-list-page-title"> <div class="container-full"> <div class="row"> <div class="col-12"> <div class="heading text-center"> <p>Our Products</p> <p class="text-center text-1 text_black-2 mt_5">Water Collection</p> </div> </div> </div> </div> </div> <section class="flat-spacing-1"> <div class="container"> <div class="tf-shop-control grid-2 align-items-center"> <div class="tf-control-filter"> <a href="#filterShop" data-bs-toggle="offcanvas" aria-controls="offcanvasLeft" class="tf-btn-filter"><span class="icon icon-filter"></span><span class="text">Filter</span></a> </div> <div class="tf-control-sorting d-flex justify-content-end"> <div class="tf-dropdown-sort" data-bs-toggle="dropdown"> <div class="btn-select"> <span class="text-sort-value">Featured</span> <span class="icon icon-arrow-down"></span> </div> <div class="dropdown-menu"> <div class="select-item active"> <span class="text-value-item">Featured</span> </div> <div class="select-item"> <span class="text-value-item">Best selling</span> </div> <div class="select-item" data-sort-value="a-z"> <span class="text-value-item">Alphabetically, A-Z</span> </div> <div class="select-item" data-sort-value="z-a"> <span class="text-value-item">Alphabetically, Z-A</span> </div> <div class="select-item" data-sort-value="price-low-high"> <span class="text-value-item">Price, low to high</span> </div> <div class="select-item" data-sort-value="price-high-low"> <span class="text-value-item">Price, high to low</span> </div> </div> </div> </div> </div> <div class="tf-row-flex"> <div class="wrapper-control-shop tf-shop-content"> <div class="meta-filter-shop"> <div id="product-count-grid" class="count-text"></div> <div id="product-count-list" class="count-text"></div> <div id="applied-filters"></div> <button id="remove-all" class="remove-all-filters" style="display: none;">Remove All <i class="icon icon-close"></i></button> </div> <div class="tf-grid-layout wrapper-shop tf-col-4"> <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="card-product grid"> <div class="card-product-wrapper"> <a href="<?php echo e(url('product-detail/' . $product->slug)); ?>" class="product-img"> <?php // Get main product images $images = $product->images ? json_decode($product->images, true) : []; // If no main images, check first variant if (empty($images) && $product->variants->isNotEmpty()) { $variantImages = $product->variants->first()->images ? json_decode($product->variants->first()->images, true) : []; $images = $variantImages; } ?> <?php if(!empty($images)): ?> <img class="img-product" src="<?php echo e(asset($images[0])); ?>" alt="<?php echo e($product->name); ?>"> <?php if(count($images) > 1): ?> <img class="img-hover" src="<?php echo e(asset($images[1])); ?>" alt="<?php echo e($product->name); ?>"> <?php endif; ?> <?php else: ?> <img class="img-product" src="<?php echo e(asset('images/no-image.png')); ?>" alt="no-image"> <?php endif; ?> </a> <div class="list-product-btn absolute-2"> <a href="#" class="box-icon bg_white quick-add"> <span class="icon icon-bag"></span> <span class="tooltip">Add to cart</span> </a> <a href="javascript:void(0);" class="box-icon bg_white wishlist btn-icon-action"> <span class="icon icon-heart"></span> <span class="tooltip">Add to Wishlist</span> <span class="icon icon-delete"></span> </a> <a href="#" class="box-icon bg_white quickview"> <span class="icon icon-view"></span> <span class="tooltip">Quick View</span> </a> </div> </div> <div class="card-product-info"> <a href="<?php echo e(route('product.detail', $product->slug)); ?>" class="title link"> <?php echo e($product->name); ?> </a> <p><?php echo Str::limit($product->about_item, 80); ?></p> <div class="price"> <?php $variant = $product->variants->where('is_default', 1)->first() ?? $product->variants->first(); ?> <?php if($variant): ?> <?php if($variant->price < 139): ?> <span class="old-price">£139.00</span> <?php endif; ?> <span class="new-price">£<?php echo e(number_format($variant->price, 2)); ?></span> <?php endif; ?> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <!-- Pagination --> <div class="mt-4"> <?php echo e($products->links('pagination::bootstrap-5')); ?> </div> </div> </div> </div> </div> </section> <?php $__env->stopSection(); ?> <?php echo $__env->make('layout.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\amor\resources\views/product-list.blade.php ENDPATH**/ ?>
Copyright ©2021 || Defacer Indonesia