@if($category->types) @php $cat_translation = $category->translateOrOrigin(app()->getLocale()); @endphp

{{__('Explore :name',['name' => $cat_translation->name])}}

@foreach($category->types as $category_type) @php $type_translation = $category_type->translateOrOrigin(app()->getLocale()); @endphp
@if($category_type->image_id)
@endif

{{$type_translation->name}}

    @foreach($category_type->children() as $child_cat) @php $child_cat_translation = $child_cat->translateOrOrigin(app()->getLocale()); @endphp
  • {{$child_cat_translation->name}}
  • @endforeach
@endforeach
@endif