@foreach ($categories as $category)
  • activeChildren->isNotEmpty()) class="menu-item-has-children has-mega-menu" @endif> @if ($iconImage = $category->getMetaData('icon_image', true)) {{ $category->name }} @elseif ($icon = $category->getMetaData('icon', true)) @endif {{ $category->name }} @if ($categoriesCount) @endif @if ($categoriesCount)
    activeChildren[1])) style="min-width: 250px;" @endif> @foreach($category->activeChildren as $childCategory)
    @if ($childCategory->activeChildren->isNotEmpty())

    {{ $childCategory->name }}

    @else {{ $childCategory->name }} @endif
    @endforeach
    @endif
  • @endforeach