@php $menusdata = app('App\Http\Controllers\Web\HomeController')->topmenus(); $fallback_local = $menusdata['fallback_local']; // $lang = $menusdata['lang']; @endphp {{-- {{ $menusdata['menus'] }} --}} @foreach ($menusdata['menus'] as $menu)
  • link_by == 'cat' && $menu->cat_id != 0) onclick="redirectMe('{{ $menu->cat_id }}', 'p'); return false;" @endif> @if ($menu->icon != null) @endif {{ is_array($menu->title) ? ($menu->title[app()->getLocale()] ?? $menu->title[$fallback_local]) : $menu->title }} @if ($menu->menu_tag == 1) {{ $menu->tag_text[app()->getLocale()] ?? $menu->tag_text }} @endif @if ($menu->show_cat_in_dropdown == 1 || $menu->show_child_in_dropdown == 1)
    @foreach ($menu->megamenu as $key => $value)
    @foreach ($value as $v) @if ($v->type == 'category')

    {{ $v->title }}

    @endif @if ($v->type == 'subcategory')
    • {{ $v->title }}
    @endif @if ($v->type == 'detail')

    {{ strlen($v->title) > 30 ? substr($v->title, 0, 30) . '...' : $v->title }}

    @endif @endforeach
    @endforeach
    @if ($menu->bannerimage)
    @endif
    @endif
  • @endforeach
  • Flash deals
  • {{-- --}}