@extends('layouts.admin') @section('title', 'Daftar Kategori Produk') @section('content')

Kelola Kategori Produk

Kelola daftar pengelompokan produk pada katalog toko online.

Tambah Kategori Baru
Data Kategori (Total: {{ $categories->total() }}) Resource: Category
@if ($categories->count() > 0)
@foreach ($categories as $index => $category) @endforeach
# Nama Kategori Slug URL Deskripsi Jumlah Produk Aksi
{{ $categories->firstItem() + $index }} {{ $category->name }} {{ $category->slug }} {{ $category->description ? Str::limit($category->description, 60) : '-' }} {{ $category->products_count }} Produk
@csrf @method('DELETE')
@if ($categories->hasPages())
{{ $categories->links('pagination::bootstrap-5') }}
@endif @else
Belum Ada Kategori Produk

Tambahkan kategori pertama Anda untuk mengelompokkan produk pada toko online.

Tambah Kategori Sekarang
@endif
@endsection