관리-도구
편집 파일: 1ffd273073a8817996ca52e0f764d93a.php
<?php $__env->startSection('title', $web_config['meta_title']); ?> <?php $__env->startPush('css_or_js'); ?> <link rel="stylesheet" href="<?php echo e(theme_asset(path:'public/assets/front-end/css/home.css')); ?>"/> <link rel="stylesheet" href="<?php echo e(theme_asset(path:'public/assets/front-end/css/owl.carousel.min.css')); ?>"> <link rel="stylesheet" href="<?php echo e(theme_asset(path:'public/assets/front-end/css/owl.theme.default.min.css')); ?>"> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <?php $dp = !empty(getWebConfig(name:'decimal_point_settings')) ? getWebConfig(name:'decimal_point_settings') : 0; $orderSuccessIds = session('order_success_ids'); $isNewCustomer = session('isNewCustomerInSession'); session()->forget(['order_success_ids','isNewCustomerInSession']); ?> <?php echo $__env->make("web-views.partials._order-success-modal",['orderSuccessIds'=>$orderSuccessIds,'isNewCustomerInSession'=>$isNewCustomer], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <div class="luxury-home"> <?php echo $__env->make('web-views.partials._home-top-slider',['bannerTypeMainBanner'=>$bannerTypeMainBanner], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php if($newArrivalProducts->count() > 0): ?> <section class="cxz cxz--alab"> <span class="cxz__side">The Edit — 02</span> <div class="cxz__ghost">Atelier</div> <div class="container"> <div class="cxz__head cxr"> <div style="display:flex;align-items:flex-end;"> <span class="cxz__idx">02</span> <div> <span class="cxz__kick">New Season</span> <h2 class="cxz__title">Shop the <em>Edit</em></h2> </div> </div> <p class="cxz__sub">Filter our newest arrivals by weave — each piece numbered, every thread considered.</p> </div> <div class="cxf cxr" data-target="#cxEdit"> <button class="cxf__tab active" data-filter="all">All</button> <?php $__currentLoopData = $categories->take(6); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <button class="cxf__tab" data-filter="<?php echo e($cat->id); ?>"><?php echo e($cat->name); ?></button> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="cxg" id="cxEdit"> <?php $__currentLoopData = $newArrivalProducts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->make('web-views.partials._product-card-2',['product'=>$product,'decimal_point_settings'=>$dp], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div style="text-align:center;margin-top:64px;" class="cxr"> <a href="<?php echo e(route('products')); ?>" class="cx-btn cx-btn--black">View Entire Collection</a> </div> </div> </section> <?php endif; ?> <?php if($categories->count() > 0): ?> <section class="cxz cxz--black"> <span class="cxz__side">Weaves — 03</span> <div class="cxz__ghost">Weaves</div> <div class="container"> <div class="cxz__head cxr"> <div style="display:flex;align-items:flex-end;"> <span class="cxz__idx">03</span> <div> <span class="cxz__kick">Shop By</span> <h2 class="cxz__title">Our <em>Weaves</em></h2> </div> </div> <a class="cx-link" href="<?php echo e(route('categories')); ?>"><?php echo e(translate('view_all')); ?></a> </div> <div class="cxc cxr"> <?php $__currentLoopData = $categories->take(10); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a class="cxc__i" href="<?php echo e(route('category-products',['slug'=>$cat['slug']])); ?>"> <div class="cxc__key"> <img loading="lazy" alt="<?php echo e($cat->name); ?>" src="<?php echo e(getStorageImages(path:$cat->icon_full_url,type:'category')); ?>"> </div> <div class="cxc__nm"><?php echo e($cat->name); ?></div> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </section> <?php endif; ?> <?php if($flashDeal['flashDeal'] && $flashDeal['flashDealProducts'] && count($flashDeal['flashDealProducts']) > 0): ?> <section class="cxz cxz--lacquer"> <span class="cxz__side">Flash — 04</span> <div class="cxz__ghost">Flash</div> <div class="container" style="position:relative;z-index:2;"> <?php echo $__env->make('web-views.partials._flash-deal',['decimal_point_settings'=>$dp], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> </div> </section> <?php endif; ?> <?php if($featuredProductsList->count() > 0): ?> <section class="cxz cxz--bone"> <span class="cxz__side">Featured — 05</span> <div class="container"> <div class="cxz__head cxr"> <div style="display:flex;align-items:flex-end;"> <span class="cxz__idx">05</span> <div> <span class="cxz__kick">Curated</span> <h2 class="cxz__title">Featured <em>Pieces</em></h2> </div> </div> <a class="cx-link" href="<?php echo e(route('featured-products')); ?>"><?php echo e(translate('view_all')); ?></a> </div> <div class="owl-carousel owl-theme featured_products_listSlide cxr" data-slide-items="<?php echo e(count($featuredProductsList)); ?>"> <?php $__currentLoopData = $featuredProductsList; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div><?php echo $__env->make('web-views.partials._feature-product',['product'=>$product,'decimal_point_settings'=>$dp], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?></div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </section> <?php endif; ?> <section class="cxz cxz--photo" data-photo-from=".cxh__media img"> <div class="container cxq cxr"> <blockquote>"A saree is not just six yards of fabric —<br>it is a story woven in silk."</blockquote> <cite><?php echo e($web_config['company_name']); ?> · Handloom Heritage</cite> </div> </section> <?php if(getFeaturedDealsProductList() && count(getFeaturedDealsProductList()) > 0): ?> <section class="cxz cxz--alab"> <span class="cxz__side">Deals — 07</span> <div class="cxz__ghost">Deals</div> <div class="container"> <div class="cxz__head cxr"> <div style="display:flex;align-items:flex-end;"> <span class="cxz__idx">07</span> <div> <span class="cxz__kick">Limited Time</span> <h2 class="cxz__title">Featured <em>Deals</em></h2> </div> </div> <a class="cx-link" href="<?php echo e(route('featured-deal-products')); ?>"><?php echo e(translate('view_all')); ?></a> </div> <div class="cxg"> <?php $__currentLoopData = getFeaturedDealsProductList(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->make('web-views.partials._product-card-1',['product'=>$product,'decimal_point_settings'=>$dp], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </section> <?php endif; ?> <?php echo $__env->make('web-views.partials._clearance-sale-products',['clearanceSaleProducts'=>$clearanceSaleProducts], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php ($bm = getWebConfig(name:'business_mode')); ?> <?php if($bm == 'multi' && count($topVendorsList) > 0): ?> <?php echo $__env->make('web-views.partials._top-sellers', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endif; ?> <?php echo $__env->make('web-views.partials._deal-of-the-day',['decimal_point_settings'=>$dp], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php if($bestSellProduct->count() > 0 || $topRatedProducts->count() > 0): ?> <section class="cxz cxz--black"> <span class="cxz__side">Loved — 09</span> <div class="cxz__ghost">Loved</div> <div class="container"> <div class="row g-4" style="position:relative;z-index:2;"> <?php if($bestSellProduct->count() > 0): ?> <div class="col-lg-6 cxr cxr--l"> <div class="cxl"> <div class="cxl__head"> <span class="cxl__title">Best Sellings</span> <a class="cx-link" href="<?php echo e(route('best-selling-products')); ?>"><?php echo e(translate('view_all')); ?></a> </div> <?php $__currentLoopData = $bestSellProduct->take(5); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a class="cxl__row" href="<?php echo e(route('product', $item->slug)); ?>"> <img class="cxl__img" loading="lazy" alt="<?php echo e($item['name']); ?>" src="<?php echo e(getStorageImages(path:$item?->thumbnail_full_url,type:'product')); ?>"> <div> <div class="cxl__nm"><?php echo e(Str::limit($item['name'],62)); ?></div> <div> <span class="cxl__pr"><?php echo e(getProductPriceByType(product:$item,type:'discounted_unit_price',result:'string')); ?></span> <?php if(getProductPriceByType(product:$item,type:'discount',result:'value') > 0): ?> <span class="cxl__ws"><?php echo e(webCurrencyConverter(amount:$item->unit_price)); ?></span> <?php endif; ?> </div> </div> <span class="cxl__idx"><?php echo e(sprintf('%02d', $k+1)); ?></span> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php endif; ?> <?php if($topRatedProducts->count() > 0): ?> <div class="col-lg-6 cxr cxr--r"> <div class="cxl"> <div class="cxl__head"> <span class="cxl__title">Top Rated</span> <a class="cx-link" href="<?php echo e(route('top-rated-products')); ?>"><?php echo e(translate('view_all')); ?></a> </div> <?php $__currentLoopData = $topRatedProducts->take(5); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $k => $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a class="cxl__row" href="<?php echo e(route('product', $product->slug)); ?>"> <img class="cxl__img" loading="lazy" alt="<?php echo e($product['name']); ?>" src="<?php echo e(getStorageImages(path:$product->thumbnail_full_url,type:'product')); ?>"> <div> <div class="cxl__nm"><?php echo e(Str::limit($product['name'],62)); ?></div> <div> <span class="cxl__pr"><?php echo e(getProductPriceByType(product:$product,type:'discounted_unit_price',result:'string')); ?></span> <?php if(getProductPriceByType(product:$product,type:'discount',result:'value') > 0): ?> <span class="cxl__ws"><?php echo e(webCurrencyConverter(amount:$product->unit_price)); ?></span> <?php endif; ?> </div> </div> <span class="cxl__idx"><?php echo e(sprintf('%02d', $k+1)); ?></span> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php endif; ?> </div> </div> </section> <?php endif; ?> <?php if(isset($bannerTypeMainSectionBanner)): ?> <div style="line-height:0;" class="cxr"> <a href="<?php echo e($bannerTypeMainSectionBanner->url); ?>" target="_blank"> <img loading="lazy" style="width:100%;max-height:430px;object-fit:cover;display:block;" alt="" src="<?php echo e(getStorageImages(path:$bannerTypeMainSectionBanner->photo_full_url,type:'wide-banner')); ?>"> </a> </div> <?php endif; ?> <?php if($homeCategories->count() > 0): ?> <?php $__currentLoopData = $homeCategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->make('web-views.partials._category-wise-product',['decimal_point_settings'=>$dp], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php ($companyReliability = getWebConfig(name:'company_reliability')); ?> <?php if($companyReliability != null): ?> <?php echo $__env->make('web-views.partials._company-reliability', ['companyReliability' => $companyReliability], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?> <?php endif; ?> <?php if(count($bannerTypeFooterBanner) > 0): ?> <div class="container" style="padding:60px 24px;"> <?php $__currentLoopData = $bannerTypeFooterBanner; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $banner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <a href="<?php echo e($banner['url']); ?>" class="d-block cxr" target="_blank" style="margin-bottom:10px;"> <img loading="lazy" style="width:100%;display:block;" alt="" src="<?php echo e(getStorageImages(path:$banner->photo_full_url,type:'banner')); ?>"> </a> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> </div> <span id="direction-from-session" data-value="<?php echo e(session()->get('direction')); ?>"></span> <?php $__env->stopSection(); ?> <?php $__env->startPush('script'); ?> <?php if($orderSuccessIds): ?> <script> document.addEventListener('DOMContentLoaded', function () { var m = new bootstrap.Modal(document.getElementById('order_successfully'),{backdrop:'static',keyboard:false}); m.show(); document.querySelectorAll('.copy-order-id').forEach(btn => { btn.addEventListener('click', function(){ var el = this.closest('tr')?.querySelector('.order-id-text')||this.parentElement.querySelector('.order-id-text'); if(el) navigator.clipboard.writeText(el.textContent.trim()).then(()=>toastr.success('Copied!')).catch(()=>{}); }); }); document.getElementById('modal-close-btn').addEventListener('click', ()=>setTimeout(()=>m.hide(),600)); }); </script> <?php endif; ?> <?php if(Request::is('/') && \Illuminate\Support\Facades\Cookie::has('popup_banner')==false && empty($orderSuccessIds)): ?> <script>$(document).ready(function(){ $('#popup-modal').modal('show'); });</script> <?php (\Illuminate\Support\Facades\Cookie::queue('popup_banner','off',1)); ?> <?php endif; ?> <script src="<?php echo e(theme_asset(path:'public/assets/front-end/js/owl.carousel.min.js')); ?>"></script> <script src="<?php echo e(theme_asset(path:'public/assets/front-end/js/home.js')); ?>"></script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.front-end.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home2/slnssare/public_html/resources/themes/default/web-views/home.blade.php ENDPATH**/ ?>