@extends('backend.template.layouts.template-base') @section('title', 'Category Details') @section('content')

Category Details

@can('update', \App\Models\Category::class) Edit Category @endcan
{{ $category->name }}
Category Name {{ $category->name }}
Status {{ $category->statusLabel() }}
Products {{ $category->products_count ?? $category->products()->count() }}
Parent Category {{ $category->parent?->name ?? '— Top level —' }}
Created Date {{ $category->created_at?->format('d M Y') }}
Last Updated {{ $category->updated_at?->format('d M Y') }}
@if ($category->children->isNotEmpty())
Child Categories
@foreach ($category->children as $child) {{ $child->name }} @endforeach
@endif
SEO Details
Meta Title
{{ $category->meta_title ?: '—' }}
Meta Description
{{ $category->meta_description ?: '—' }}
Meta Keywords
{{ $category->meta_keywords ?: '—' }}
H1
{{ $category->seo?->h1 ?: '—' }}
Schema
{{ $category->seo?->schema ?: '—' }}
@endsection