@extends('layouts.frontend') @section('content') {{--

{{ $category->name }} {{ $category->brands()->count() }} marques | {{ $products->total() }} produits

@php $filterAttributes = $category->attributes->where('filtrable', 1); @endphp @if($filterAttributes->count() > 0)
@foreach($filterAttributes as $itm) @include('shared.attributes.'. $itm->type .'.filter', ['attribute' => $itm]) @endforeach
@if(!empty($_GET)) @endif
@endif
--}}
{{--
--}} @include('frontend.products._filter')
@forelse($products as $product) @include('frontend.products._product') @empty

Aucun produit trouvé

@endforelse
{{ $products->appends($_GET)->links() }}
@endsection