@extends('layouts.app') @section('title', 'Categories') @section('content')

Categories Management

Organize your products with categories

@if($categories->count() > 0) @foreach($categories as $category)
{{ $category->name }}

{{ $category->products_count ?? 0 }} Products

Created: {{ $category->created_at->format('M d, Y') }}
Updated: {{ $category->updated_at->format('M d, Y') }}
@endforeach @else
No Categories Found

Start by creating your first category to organize your products.

Add Category
@endif
@if($categories->hasPages())
{{ $categories->links() }}
@endif
@endsection