@extends('layouts.app') @section('title', 'Product Management - Admin') @push('styles') @endpush @section('content')
Product Desk
Advanced Filter
Back to Dashboard

Products

{{ $totalProducts }} total · {{ $pendingProducts }} pending

@if(request('status')) @endif @if(request('stock')) @endif

Product Catalog

@include('partials.product-import-export', [ 'exportRoute' => route('admin.products.export', request()->query()), 'importRoute' => route('admin.products.import'), 'modalId' => 'adminImportProductsModal', 'vendorScoped' => false, ]) CreateAdd
@forelse($products as $product) @empty @endforelse
Product / Vendor Pricing Stock Status Action
@if($product->is_featured) @endif
{{ $product->name }}
{{ $product->vendor->shop_name }}
@if($product->sale_price)
₹{{ number_format($product->sale_price, 2) }}
₹{{ number_format($product->price, 2) }} @else
₹{{ number_format($product->price, 2) }}
@endif
@if($product->stock_qty == 0) Out @elseif($product->stock_qty < 10) {{ $product->stock_qty }} Left @else {{ $product->stock_qty }} Units @endif @if($product->status === 'active') Live @elseif($product->status === 'pending') Review @else {{ ucfirst($product->status) }} @endif
View Edit @if($product->status === 'active')
@csrf
@else @endif
@csrf @method('DELETE')

No Products Found

No items matching your current filters or searching criteria.

Create New Product
@if($products->hasPages()) @endif
{{-- Mobile product cards — tap anywhere to edit --}}
@forelse($products as $product)
{{ $product->name }} @if($product->is_featured)@endif
{{ $product->vendor->shop_name ?? '—' }}
@if($product->sale_price) ₹{{ number_format($product->sale_price, 0) }} ₹{{ number_format($product->price, 0) }} @else ₹{{ number_format($product->price, 0) }} @endif
@if($product->stock_qty == 0) Out of stock @elseif($product->stock_qty < 10) {{ $product->stock_qty }} left @else {{ $product->stock_qty }} units @endif @if($product->status === 'active') Live @elseif($product->status === 'pending') Review @else {{ ucfirst($product->status) }} @endif
Tap card to edit
View Edit @if($product->status === 'active')
@csrf
@else @endif
@csrf @method('DELETE')
@empty

No Products Found

No items matching your filters.

Create Product
@endforelse
@if($products->hasPages())
@endif
Recent Inventory Logs
@forelse($recentActivities as $activity)
{{ $activity['title'] }}
{{ $activity['product'] }}
{{ $activity['time'] }}
@empty
No recent logs recorded.
@endforelse
Growth Metric

You have {{ $pendingProducts }} products waiting for listing approval.

Stock Caution

There are {{ $outOfStock }} items currently unavailable for customers.

@endsection