@foreach ($menu_nodes as $key => $row)
- has_child || $row->css_class || $row->active) class="@if ($row->has_child) has-children @endif @if ($row->css_class) {{ $row->css_class }} @endif @if ($row->active) active @endif" @endif>
target !== '_self') target="{{ $row->target }}" @endif>
@if ($iconImage = $row->getMetadata('icon_image', true))
@elseif ($row->icon_font)
@endif
{{ $row->title }}
@if ($row->has_child)
{!! Menu::generateMenu([
'menu' => $row,
'menu_nodes' => $row->child,
'view' => 'menu-with-customer',
'options' => [
'class' => 'sub-menu ' . ($row->getMetaData('child_style', true) == 'two_col' ? 'two-col' : ''),
],
]) !!}
@endif
@if ($loop->iteration % 2 == 0 && !$loop->last && $menu && $menu->id && $menu->getMetaData('child_style', true) == 'hr_per_2_child')
-
@endif
@endforeach
{{-- Add Orders menu item if customer is logged in --}}
{{-- @if (is_customer_logged_in())
@endif --}}