@extends('layouts.app') @section('title', 'Subcategories') @section('content')
@if ($ads->isEmpty())

No products found

@endif

{{ $category->category ?? 'Products'}}

{{--
@foreach ($ads as $ad)
{{ $ad->title }}
{{ $ad->title }}

{{ $ad->sellerpayment ? 'Duration: ' . $ad->sellerpayment->duration . ' days' : 'No duration available' }}

price ${{ $ad->price }}

@endforeach

Category

Days Worn

Gender

Size

Price Range €

{{ request('minPrice') ?? '0' }} - {{ $max }}
Reset Filter
--}}
@foreach ($ads as $ad)
{{ $ad->title }}

{{ $ad->worn_days ? 'Duration: ' . $ad->worn_days . ' days' : 'No duration available' }}

price ${{ $ad->price }}

{{--
--}}
@endforeach

Category

Days Worn

Gender

Size

{{--

Price Range €

{{ request('minPrice') ?? '0' }} - {{ request('maxPrice') ?? $max }}
--}}
Reset Filter
@endsection