@lang('frontend.frnd_38'):

{{-- ปุ่มเปิด Filter Desktop --}}
@if (!empty($categories->filter_price) && count($categories->filter_price) > 0) @php $chk = 1; @endphp @endif @if (!empty($categories->filter_center_diamond) && count($categories->filter_center_diamond) > 0) @php $chk = 1; @endphp @endif @if (!empty($categories->certificate) && count($categories->certificate) > 0) @php $chk = 1; @endphp @endif @if (!empty($categories->style) && count($categories->style) > 0) @php $chk = 1; @endphp @endif @if (!empty($categories->housing) && count($categories->housing) > 0) @php $chk = 1; @endphp @endif @if (!empty($categories->gem) && count($categories->gem) > 0) @php $chk = 1; @endphp @endif
{{-- ปุ่มเปิด Filter Mobile --}} @if (!empty($categories->filter_price) && count($categories->filter_price) > 0)
@foreach ($categories->filter_price as $index => $filter_price)
@endforeach
@endif {{-- ปุ่มเปิด Filter Mobile --}} @if (!empty($categories->filter_center_diamond) && count($categories->filter_center_diamond) > 0)
@foreach ($categories->filter_center_diamond as $index => $filter_center_diamond)
@endforeach
@endif {{-- ปุ่มเปิด Filter Mobile --}} @if (!empty($categories->certificate) && count($categories->certificate) > 0)
@foreach ($categories->certificate as $index => $certificate)
@endforeach
@endif {{-- ปุ่มเปิด Filter Mobile --}} @if (!empty($categories->style) && count($categories->style) > 0)
@foreach ($categories->style as $index => $style)
@endforeach
@endif {{-- ปุ่มเปิด Filter Mobile --}} @if (!empty($categories->housing) && count($categories->housing) > 0)
@foreach ($categories->housing as $index => $housing)
@endforeach
@endif {{-- ปุ่มเปิด Filter Mobile --}} @if (!empty($categories->gem) && count($categories->gem) > 0)
@foreach ($categories->gem as $index => $gem)
@endforeach
@endif
@php if (empty($chk)) { echo ''; } else { echo ''; } @endphp