@extends('layouts.admin') @section('title', 'Products Management - ' . $vendor->vendor_name) @section('content')

Products Management

Back to Vendor Manage Categories
@if($productCategories->count() > 0) Add Product @endif
{{ $stats['total_products'] }}
Total Products
{{ $stats['active_products'] }}
Active Products
{{ $stats['low_stock'] }}
Low Stock
{{ $stats['out_of_stock'] }}
Out of Stock

{{ $stats['total_products'] }}

Total Products

{{ $stats['active_products'] }}

Active Products

{{ $stats['low_stock'] }}

Low Stock

{{ $stats['out_of_stock'] }}

Out of Stock

@if($productCategories->count() > 0)
Product Categories
{{ $productCategories->count() }} {{ Str::plural('Category', $productCategories->count()) }}

Manage your products by category. Click on a category to view and manage products.

@foreach($productCategories as $category)
{{ $category->name }}
@if($category->description)

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

@endif
{{ $category->vendor_products_count ?? 0 }}
Products
{{ $category->active_products_count ?? 0 }}
Active
@endforeach
@else
No Product Categories Available

Configure your business categories to start managing products.

@if($productCategories->count() > 0) View All Products @endif @if($productCategories->count() > 0) Add First Product @endif Configure Categories
@endif @if($productCategories->count() > 0)
Quick Start

Get started by adding your first product to the {{ $productCategories->first()->name }} category.

View {{ $productCategories->first()->name }} Products
@endif
@endsection