Products Management

Manage your inventory, pricing, and stock.

Add Product
Total Products {{ number_format($totalProducts ?? 0) }}
Active Products {{ number_format($activeProducts ?? 0) }}
Out of Stock {{ number_format($outOfStockProducts ?? 0) }}
Inactive Products {{ number_format($inactiveProducts ?? 0) }}
@if(request()->hasAny(['search', 'category_id', 'brand', 'stock_status', 'is_active', 'is_featured', 'has_discount', 'min_price', 'max_price', 'sort_by'])) Reset @endif
@if($products->isEmpty())
No products found. Add your first item using the button above.
@else @foreach($products as $product)
{{ $product->name }}
#{{ $loop->iteration + ($products->currentPage() - 1) * $products->perPage() }}
{{ $product->name }} {{ $product->category->name ?? 'Uncategorized' }}
@if($product->is_active) Active @else Inactive @endif
Price @if($product->discount_price) ৳{{ number_format($product->discount_price, 0) }} ৳{{ number_format($product->price, 0) }} @else ৳{{ number_format($product->price, 0) }} @endif
Stock @if($product->stock > 5) {{ $product->stock }} units @elseif($product->stock > 0) {{ $product->stock }} left @else Out of stock @endif
Edit
@csrf @method('DELETE')
@endforeach
{{ $products->links() }}
@endif