@extends('layouts.app') @section('title', $title) @section('content') @if ($tops = $shop->banners('category_top'))
@foreach ($tops as $tb)@endforeach
@endif @php $sortLabels = ['popular' => __('Popular'), 'newest' => __('Newest'), 'price_asc' => __('Price: low to high'), 'price_desc' => __('Price: high to low')]; $m = $shop->money; @endphp

{{ $filters->q !== '' ? __('Results for “:q”', ['q' => $filters->q]) : $title }}

{{ trans_choice(':count product|:count products', $result['total'], ['count' => $result['total']]) }}

{{-- Sort lives in the heading row. It still belongs to the filter form (form="filters"), so changing it updates the list. --}}
{{-- The filter form wraps ONLY the left panel. The product cards (each with its own wishlist form) sit outside it, because forms cannot be nested. --}}
@if ($filters->q !== '') @endif @if ($filters->onSale) @endif
@if ($result['items'])
@foreach ($result['items'] as $p)@endforeach
@include('partials.pagination') @else {{ __('Clear all') }} @endif
@push('head') @endpush @push('scripts') @endpush @endsection