@extends('layouts.app') @section('title', $collection['name'] . ' — ' . config('app.name')) @section('description', strip_tags($collection['description'] ?? '')) @section('content')

{{ $collection['name'] }}

{{--

--}}

{{ trans_choice('storefront.shop.showing_results', $products->total(), [ 'first' => $products->firstItem() ?? 0, 'last' => $products->lastItem() ?? 0, 'total' => $products->total(), ]) }}

{{-- Dummy — not wired to real sorting yet. Options carry data-action for a future `category` Stimulus controller; no-op until that controller exists and a [data-controller="category"] wraps this. --}} @foreach ([ 'popularity' => __('storefront.shop.sort_popularity'), 'price-asc' => __('storefront.shop.sort_price_asc'), 'price-desc' => __('storefront.shop.sort_price_desc'), 'newest' => __('storefront.shop.sort_newest'), ] as $value => $label) {{ $label }} @endforeach
{{-- Products --}}
@if($products->isEmpty())

{{ __('storefront.shop.no_products') }}

@else
@endif
{{-- Sidebar — search, price and availability filters are dummy for now --}}
@endsection