@extends('connect.layouts.main') @section('title', 'Categories - CLEDA Connect') @section('content')

Product Categories

Browse products by category in our B2B marketplace

@if($categories && $categories->count() > 0)
@foreach($categories as $category)

{{ $category->name }}

@if($category->description)

{{ Str::limit($category->description, 100) }}

@endif
{{ $category->products_count ?? 0 }} Products
View Products
@endforeach
@else

No Categories Available

Categories will appear here once they are created.

@endif

Marketplace Statistics

{{ $totalCategories ?? 0 }}
Categories
{{ $totalProducts ?? 0 }}
Products
{{ $totalCompanies ?? 0 }}
Companies
@endsection