@php $productSettings = $options->theme->products; $pTitle = $productSettings->page_title; $mTitle = $productSettings->meta_title; $mDesc = $productSettings->page_description; if (isset($category) && $category){ if ($category->page_title){ $pTitle = $category->page_title; } if ($category->meta_title){ $mTitle = $category->meta_title; } if ($category->description){ $mDesc = $category->description; } } if($pTitle){ $page_title = $pTitle; } @endphp @extends($_layout.'shop') @section('title', $page_title) @include($_lib.'register-meta') @if ($pTitle) @section('title', $pTitle) @endif @if ($mTitle) @section('meta_title', $mTitle) @endif @if ($mDesc) @section('meta_description', $mDesc) @endif @section('page.header.show', 'breadcrumb') @section('breadcrumb.section_class', 'section-large') @section('breadcrumb.container_class', 'container-max') @section('content') @include($_current.'templates.filter') @if (count($products))
@foreach ($products as $product)
@include($_template.'products.grid-item', [ 'product' => $product, 'item_class' => 'mb-10', 'use_thubnail_slide' => true ])
@endforeach
{{$products->links($_template.'pagination')}} @if ((!$request->page || $request->page == 1) && isset($category) && $category && $category->second_content)
{!! $category->second_content !!}
Xem thêm
@endif @else
Không có kết quả phù hợp
@endif @php add_css_link(theme_asset('css/vendors/ion.rangeSlider.min.css')); add_js_src(theme_asset('js/price-filter.js')); add_js_src(theme_asset('js/ion.rangeSlider.min.js')); add_js_src(theme_asset('js/filter.js')); $filter_url = str_replace($u = route('home'), $u . '/ajax', $current_url); @endphp @endsection @section('jsinit') @endsection