-
@foreach (getNestedCategories() as $category)
@if($loop->iteration <= 11)
-
{{ $category->name }} @if (count($category->children_nested) > 0)
-
@foreach ($category->children_nested as $child)
-
{{
$child->name }}
@if (count($child->children_nested) > 0)
-
@foreach ($child->children_nested as $subchild)
- {{ $subchild->name }} @endforeach
@endforeach
@endif
@endforeach
-
{{
$child->name }}
@if (count($child->children_nested) > 0)