@extends('layouts.admin')
@section('title', 'Categories (Unlimited Depth)')
@section('actions')
+ Add Category
@endsection
@section('content')
| Category Tree |
Depth |
Products |
Status |
Order |
Actions |
@forelse($categories as $cat)
@if($cat->depth > 0)
└─
@endif
@if($cat->image_url)

@endif
{{ $cat->name }}
/{{ $cat->slug }}
|
Level {{ $cat->depth }} |
{{ $cat->products_count }} |
|
|
|
@empty
| No categories yet. |
@endforelse
@endsection