{{-- @if(isset($category->category_descriptions[0]->blurb) && !empty($category->category_descriptions[0]->blurb))
{{$category->category_descriptions[0]->blurb}}
@endif --}}
@if(isset($state) && !empty($state))
@if(isset($state->image) && !empty($state->image))
 }})
@else

@endif

@else
@endif
@if(isset($subcategories) && !empty($subcategories) && count($subcategories) > 0)
@lang('messages.categories')
@foreach($subcategories as $subcategory)
@endif
@if(isset($products) && !empty($products) && count($products) > 0 )
@if(isset($subcategory->image) && !empty($subcategory->image))
![@if(isset($subcategory->category_descriptions[0]->title)){{$subcategory->category_descriptions[0]->title}} @else @lang('messages.product_search') @endif]({{url('storage/upload/categories_images/'.$subcategory->image) }})
@else
![@if(isset($subcategory->category_descriptions[0]->title)){{$subcategory->category_descriptions[0]->title}} @else @lang('messages.product_search') @endif](/img/no-image.jpg)
@endif
@if(isset($subcategory->category_descriptions[0]->title))
@endforeach
![@if(isset($subcategory->category_descriptions[0]->title)){{$subcategory->category_descriptions[0]->title}} @else @lang('messages.product_search') @endif](/img/no-image.jpg)
{{$subcategory->category_descriptions[0]->title}}
@endif@lang('messages.products')
@foreach($products as $product)
@if(isset($state) && !empty($state))
@else
@endif
@if(isset($subcategories) && count($subcategories) <= 0 &&
isset($products) && count($products) <= 0)
@endif
@if(isset($product->image) && !empty($product->image))
![@if(isset($product->product_descriptions[0]->title)){{$product->product_descriptions[0]->title}} @else @lang('messages.product_search') @endif]({{url('storage/upload/products_images/'.$product->image) }})
@else
![@if(isset($product->product_descriptions[0]->title)){{$product->product_descriptions[0]->title}} @else @lang('messages.product_search') @endif](/img/no-image.jpg)
@endif
@if(isset($product->product_descriptions[0]->title))
@endforeach
![@if(isset($product->product_descriptions[0]->title)){{$product->product_descriptions[0]->title}} @else @lang('messages.product_search') @endif](/img/no-image.jpg)
{{$product->product_descriptions[0]->title}}
@endif@lang('messages.no_data_available')
@endif