@extends('vendor.site-bases.website.layouts.master') @section('title', isset($category) ? sprintf('%s - %s', trans('title.products'), $category->title ?? $brand->title ?? null) : trans('title.products')) @section('page_title', trans('title.products')) @section('breadcrumbs') {!! Breadcrumbs::render('products', $category ?? $brand ?? null) !!} @endsection @section('content')
@if (Request::route()->getName() != 'products')
@lang('site.sort')
@endif
{{ request()->input('per_page', config('custom.products.per_pages.0')) }}
    @foreach (config('custom.products.per_pages') as $perPage)
  • {{ $perPage }}
  • @endforeach
@foreach ($products as $item) @include('partials.product-item', $item) @endforeach
@endsection @section('style') @endsection @section('scripts') @endsection