@forelse($categories as $category)
@empty
@endforelse
{{ $category->name }}
{{ $category->products_count }} Products
@if($category->description)
{{ Str::limit($category->description, 100) }}
@endif @if($category->children && $category->children->count() > 0)
@foreach($category->children->take(4) as $child)
{{ $child->name }}
@endforeach
@if($category->children->count() > 4)
+{{ $category->children->count() - 4 }} more
@endif
@endif
View Products
No Categories Yet
Categories will appear here once they are added.