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