Total Categories
{{ $stats['total'] ?? 0 }}
{{ $stats['parent_categories'] ?? 0 }} parents
With Products
{{ $stats['with_products'] ?? 0 }}
{{ $stats['total_products'] ?? 0 }} total products
Active Categories
{{ $stats['active'] ?? 0 }}
{{ $stats['inactive'] ?? 0 }} inactive
Archived
{{ $stats['archived'] ?? 0 }}
Soft deleted
Success
Error
Validation Errors
-
@foreach($errors->all() as $error)
- {{ $error }} @endforeach
|
|
Category | Description | Products | Status | Actions |
|---|---|---|---|---|---|
|
deleted_at ? 'disabled' : '' }}>
|
{{ $category->name }} @if(!$category->is_active) Inactive @endifParent: {{ $category->parent->name }} @elseMain Category @endif @if(($category->children?->count() ?? 0) > 0) @endif |
@if($category->description)
{{ $category->description }} @else No description @endif |
@if(($category->products_count ?? 0) > 0)
{{ $category->products_count }} products
View Products
@else
0 products
No products
@endif
|
@if($category->deleted_at)
Archived
{{ $category->deleted_at->format('M d, Y') }} @elseif($category->is_active) Active @else Inactive @endif |
No categories found
@if(request()->has('search') || request()->has('filter')) Try changing your search criteria or clear filters @else Get started by creating your first category @endif
Add New Category @if(request()->has('filter') && request('filter') == 'archived') View Active Categories @endif