@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)
@foreach ($subCategories['subCategories'] as $row) {{-- @if ($key == 7) @break @endif --}} @endforeach
@endforeach
@endsection @section('end-scripts') @endsection