@extends('admin.layouts.app') @section('title', 'Products Management') @section('content')
Manage your product catalog efficiently
Total Products
{{ $products->total() }}
Active Products
{{ $products->where('is_active', true)->count() }}
Featured Products
{{ $products->where('is_featured', true)->count() }}
Low Stock Items
{{ $products->where('stock_quantity', '<=', 10)->count() }}
| Product | SKU | Category | Price | Stock | Status | Actions |
|---|---|---|---|---|---|---|
|
@if($product->images)
{{ $product->name }}
{{ Str::limit($product->short_description, 40) }}
@if($product->is_featured)
Featured
@endif
|
{{ $product->sku }} | {{ $product->category ? $product->category->name : 'N/A' }} |
${{ number_format($product->price, 2) }}
@if($product->sale_price)
${{ number_format($product->sale_price, 2) }}
@endif
|
{{ $product->stock_quantity }} |
{{ $product->is_active ? 'Active' : 'Inactive' }}
|
|