@if (!empty(request()->input('search'))) @endif @if (!empty(request()->input('sort'))) @endif
CATEGORIES
    @foreach ($categories as $element)
  • @if(!empty($cat) && $cat->id == $element->id && !empty($cat->subs)) {{$element->name}} @foreach ($cat->subs as $key => $subelement)
    {{$subelement->name}} @if(!empty($subcat) && $subcat->id == $subelement->id && !empty($subcat->childs)) @foreach ($subcat->childs as $key => $childcat) @endforeach @endif
    @endforeach @endif
  • @endforeach
Filter by Attribute
@if(!empty($filter_attributes))
    @foreach ($filter_attributes as $key => $fa_attr)
    {{$fa_attr["label"]}}
    @if (!empty($fa_attr["values"])) @foreach ($fa_attr["values"] as $key => $fa_option)
    @endforeach @endif @endforeach
@endif
Price
{{$langg->lang62}}
{{-- @if ((!empty($cat) && !empty(json_decode($cat->attributes, true))) || (!empty($subcat) && !empty(json_decode($subcat->attributes, true))) || (!empty($childcat) && !empty(json_decode($childcat->attributes, true))))
Filter by Attribute
    @if (!empty($cat) && !empty(json_decode($cat->attributes, true))) @foreach ($cat->attributes as $key => $attr)
    {{$attr->name}}
    @if (!empty($attr->attribute_options)) @foreach ($attr->attribute_options as $key => $option)
    @endforeach @endif @endforeach @endif @if (!empty($subcat) && !empty(json_decode($subcat->attributes, true))) @foreach ($subcat->attributes as $key => $attr)
    {{$attr->name}}
    @if (!empty($attr->attribute_options)) @foreach ($attr->attribute_options as $key => $option)
    @endforeach @endif @endforeach @endif @if (!empty($childcat) && !empty(json_decode($childcat->attributes, true))) @foreach ($childcat->attributes as $key => $attr)
    {{$attr->name}}
    @if (!empty($attr->attribute_options)) @foreach ($attr->attribute_options as $key => $option)
    @endforeach @endif @endforeach @endif
@endif --}} @if(!isset($vendor)) {{--

{{$langg->lang63}}

    @foreach(App\Models\Product::showTags() as $tag) @if(!empty($tag))
  • {{ $tag }}
  • @endif @endforeach
--}} @else

{{ $langg->lang227 }}

@endif