@extends('frontend.layouts.app') @push('head-area') @endpush @section('content') @php $video_tag = ''; if(trim($data['category']->video_link) != null) { if($data['category']->video_site == 'YouTube') { $video_tag = '
'; } else { $video_tag = '
'; } } @endphp
{{$data['selectedCategory'] == null ? $data['category']->name : $data['selectedCategory']->name}}
@if ($data['allChildCategories'] && count($data['allChildCategories']) > 0)
@foreach ($data['allChildCategories'] as $childCategory) @endforeach
@endif
{{-- @dd($data); --}} @if (count($data['allChildCategories']) < 1)
@if (count($data['allChildCategories']) < 1)
Filter
@if (!empty($data['filterOptions']['primary_material']))

@foreach ($data['filterOptions']['primary_material'] as $option)
input('primary_material', []))) ? 'checked' : '' }}>
@endforeach
@endif @if (!empty($data['filterOptions']['secondary_material']))

@foreach ($data['filterOptions']['secondary_material'] as $option)
input('secondary_material', []))) ? 'checked' : '' }}>
@endforeach
@endif @if (!empty($data['filterOptions']['length']))

@foreach ($data['filterOptions']['length'] as $option)
input('length', []))) ? 'checked' : '' }}>
@endforeach
@endif @if (!empty($data['filterOptions']['shape']))

@foreach ($data['filterOptions']['shape'] as $option)
input('shape', []))) ? 'checked' : '' }}>
@endforeach
@endif @if (!empty($data['filterOptions']['tip']))

@foreach ($data['filterOptions']['tip'] as $option)
input('tip', []))) ? 'checked' : '' }}>
@endforeach
@endif
@endif
{!! $video_tag !!}
@if (count($data['allChildCategories']) < 1)
Showing {{ $data['allProducts']->firstItem() }}-{{ $data['allProducts']->lastItem() }} of {{ $data['allProducts']->total() }} Results

@endif
@foreach($data['allProducts'] as $product)
{{ $product->short_description ?? $product->short_description }}
Multiple buying options, see details to choose according to your needs.
@endforeach {{ $data['allProducts']->links() }}
@endif
{!! $data['category']->short_description ? $data['category']->short_description : $data['category']->description !!}
@endsection @push('after-scripts') @endpush