@extends('layouts.public') @section('content') @php($categoryImage = $category->image_url ?: '/assets/images/products/chart-collection.svg')
Category

{{ $category->name }}

{{ $category->description }}

{{ $category->name }}
@if($children->count())

Sub Categories

@foreach($children as $child){{ $child->name }}@endforeach
@endif
Products

Products in {{ $category->name }}

@foreach($products as $product) @include('partials.product-card', ['product' => $product]) @endforeach
@endsection