관리-도구
편집 파일: 90db035f139693dfba71c6b3c54ad707c5642768.php
<?php $__env->startSection('content'); ?> <style> .single-product .product-img>a { height: 200px; } </style> <!-- Breadcrumbs --> <div class="breadcrumbs"> <div class="container"> <div class="row"> <div class="col-12"> <div class="bread-inner"> <ul class="bread-list"> <li><a href="<?php echo e(url('')); ?>"><?php echo e(_lang('Home')); ?><i class="ti-arrow-right"></i></a></li> <li class="active"><a href="<?php echo e(url('/shop')); ?>"><?php echo e(_lang('Shop')); ?></a></li> </ul> </div> </div> </div> </div> </div> <!-- End Breadcrumbs --> <!-- Product Style --> <section class="product-area shop section"> <div class="container"> <div class="row"> <div class="col-lg-3 col-12"> <div id="sidebar-expander"></div> <div class="shop-sidebar"> <!-- Single Widget --> <div class="single-widget category" id="sidebar-category"> <h3 class="title"><?php echo e(_lang('Categories')); ?></h3> <?php $slug = isset($slug) ? $slug : ''; ?> <?php echo e(buildTreeCollapse(App\Entity\Category\Category::all(), 0, 'categories', $slug)); ?> </div> <!--/ End Single Widget --> <!-- Shop By Price --> <div class="single-widget range"> <h3 class="title"><?php echo e(_lang('Shop by Price')); ?></h3> <div class="price-filter"> <div class="price-filter-inner"> <div id="slider-range" data-min="0" data-max="<?php echo e(get_max_price()); ?>" data-value="<?php echo e(isset($_GET['end_price']) ? $_GET['end_price'] : get_max_price()); ?>"></div> <div class="price_slider_amount"> <div class="label-input"> <input type="text" id="amount" class="text-center" name="price" placeholder="<?php echo e(_lang('Add Your Price')); ?>"/> <input type="hidden" id="start_price" value="0" class="filter"/> <input type="hidden" id="end_price" value="<?php echo e(isset($_GET['end_price']) ? $_GET['end_price'] : get_max_price()); ?>" class="filter"/> </div> </div> </div> <button type="button" class="btn btn-block py-2 mt-2" id="filter_by_price"><?php echo e(_lang('Filter')); ?></button> </div> </div> <!--/ End Shop By Price --> <!-- Single Widget --> <div class="single-widget category"> <h3 class="title"><?php echo e(_lang('Brands')); ?></h3> <ul class="categor-list"> <?php $brand_slug = isset($brand_slug) ? $brand_slug : ''; ?> <?php $__currentLoopData = \App\Entity\Brand\Brand::all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $brand): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li><a href="<?php echo e(filter_url('/brands/'.$brand->slug)); ?>" class="<?php echo e($brand_slug == $brand->slug ? 'active' : ''); ?>"><?php echo e($brand->translation->name); ?></a></li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <!--/ End Single Widget --> <!-- Single Widget --> <div class="single-widget category"> <h3 class="title"><?php echo e(_lang('Tags')); ?></h3> <ul class="categor-list"> <?php $tag_slug = isset($tag_slug) ? $tag_slug : ''; ?> <?php $__currentLoopData = \App\Entity\Tag\Tag::all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tag): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li> <a href="<?php echo e(filter_url('/tags/'.$tag->slug)); ?>" class="<?php echo e($tag_slug == $tag->slug ? 'active' : ''); ?>"><?php echo e($tag->translation->name); ?></a> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <!--/ End Single Widget --> </div> </div> <div class="col-lg-9 col-12"> <div class="row"> <div class="col-12"> <!-- Shop Top --> <div class="shop-top"> <div class="shop-shorter"> <div class="single-shorter"> <?php $length = isset($_GET['length']) ? $_GET['length'] : ''; ?> <label><?php echo e(_lang('Show')); ?> :</label> <select id="length" class="filter"> <option value="09" <?php echo e($length == '09' ? 'selected' : ''); ?>>09</option> <option value="15" <?php echo e($length == '15' ? 'selected' : ''); ?>>15</option> <option value="25" <?php echo e($length == '25' ? 'selected' : ''); ?>>25</option> <option value="30" <?php echo e($length == '30' ? 'selected' : ''); ?>>30</option> </select> </div> <div class="single-shorter"> <?php $sort_by = isset($_GET['sort_by']) ? $_GET['sort_by'] : ''; ?> <label><?php echo e(_lang('Sort By')); ?> :</label> <select id="sort_by" class="filter"> <option value="default"><?php echo e(_lang('Default')); ?></option> <option value="oldest" <?php echo e($sort_by == "oldest" ? "selected" : ""); ?>><?php echo e(_lang('Oldest')); ?></option> <option value="newest" <?php echo e($sort_by == "newest" ? "selected" : ""); ?>><?php echo e(_lang('Newest')); ?></option> <option value="low_to_high" <?php echo e($sort_by == "low_to_high" ? "selected" : ""); ?>><?php echo e(_lang('Price: Low to High')); ?></option> <option value="high_to_low" <?php echo e($sort_by == "high_to_low" ? "selected" : ""); ?>><?php echo e(_lang('Price: High to Low')); ?></option> <option value="a_to_z" <?php echo e($sort_by == "a_to_z" ? "selected" : ""); ?>><?php echo e(_lang('Name: A-Z')); ?></option> <option value="z_to_a" <?php echo e($sort_by == "z_to_a" ? "selected" : ""); ?>><?php echo e(_lang('Name: Z-A')); ?></option> </select> </div> </div> </div> <!--/ End Shop Top --> </div> </div> <div class="row"> <?php if($products->isEmpty()): ?> <div class="col-12"> <h5 class="text-center mt-5"><?php echo e(_lang('No products found !')); ?></h5> </div> <?php endif; ?> <?php echo $__env->make('theme.saintsaccessories.components.product-grid', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <!--Pagination--> <div class="col-lg-12"> <?php echo e($products->links()); ?> </div> </div><!--End Row--> </div> </div> </div> </section> <!--/ End Product Style 1 --> <?php $__env->stopSection(); ?> <?php $__env->startSection('js-script'); ?> <script src="<?php echo e(asset('public/theme/default/js/cart.js?v=1.1')); ?>"></script> <!-- Jquery --> <script src="<?php echo e(asset('public/theme/default/js/jquery.min.js')); ?>"></script> <script src="<?php echo e(asset('public/theme/default/js/jquery-migrate-3.0.0.js')); ?>"></script> <script src="<?php echo e(asset('public/theme/default/js/jquery-ui.min.js')); ?>"></script> <!-- Popper JS --> <script src="<?php echo e(asset('public/theme/default/js/popper.min.js')); ?>"></script> <!-- Bootstrap JS --> <script src="<?php echo e(asset('public/theme/default/js/bootstrap.min.js')); ?>"></script> <!-- Slicknav JS --> <script src="<?php echo e(asset('public/theme/default/js/slicknav.min.js')); ?>"></script> <!-- Owl Carousel JS --> <script src="<?php echo e(asset('public/theme/default/js/owl-carousel.js')); ?>"></script> <!-- Magnific Popup JS --> <script src="<?php echo e(asset('public/theme/default/js/magnific-popup.js')); ?>"></script> <!-- Waypoints JS --> <script src="<?php echo e(asset('public/theme/default/js/waypoints.min.js')); ?>"></script> <!-- Countdown JS --> <script src="<?php echo e(asset('public/theme/default/js/finalcountdown.min.js')); ?>"></script> <!-- Nice Select JS --> <script src="<?php echo e(asset('public/theme/default/js/nicesellect.js')); ?>"></script> <!-- Flex Slider JS --> <script src="<?php echo e(asset('public/theme/default/js/flex-slider.js')); ?>"></script> <!-- ScrollUp JS --> <script src="<?php echo e(asset('public/theme/default/js/scrollup.js')); ?>"></script> <!-- Onepage Nav JS --> <script src="<?php echo e(asset('public/theme/default/js/onepage-nav.min.js')); ?>"></script> <!-- Easing JS --> <script src="<?php echo e(asset('public/theme/default/js/easing.js')); ?>"></script> <script src="<?php echo e(asset('public/backend/plugins/jquery-toast-plugin/jquery.toast.min.js')); ?>"></script> <script src="<?php echo e(asset('public/theme/default/js/typeahead.bundle.js')); ?>"></script> <script src="<?php echo e(asset('public/backend/assets/js/print.js')); ?>"></script> <!-- Active JS --> <script src="<?php echo e(asset('public/theme/default/js/active.js?v=1.2')); ?>"></script> <?php $__env->stopSection(); ?> <?php echo $__env->make('theme.saintsaccessories.websiteEcom', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/customamgdigital/saintsaccessories.custom.amgdigitalagency.com/resources/views/theme/saintsaccessories/shop.blade.php ENDPATH**/ ?>