@extends('layouts.app') @section('page-title', 'All Categories') @section('body-content') Products Categories {{-- @if (!empty($brand)) {{$brand}} / Categories @else All Categories @endif --}} {{-- {{dd($categories)}} --}} @foreach ($categories as $subCategories) {{$subCategories['name']}} @foreach ($subCategories['subCategories'] as $row) {{ $row['name'] }} {{-- @if ($key == 7) @break @endif --}} @endforeach View More @endforeach @endsection @section('end-scripts') @endsection