@extends('layouts.admin') @section('title', 'Product Catalog - Orange Groceries Admin') @section('header_title', 'Products & Variants Catalog') @section('content')
@if(session('success'))
{{ session('success') }}
@endif
@if(request('q')) Clear @endif
Add New Product

Product List ({{ $products->total() }})

@forelse($products as $product) @empty @endforelse
Image Product Name & SKU Category Price Stock Badges Actions
{{ $product->name }}
{{ $product->name }}
SKU: {{ $product->sku ?? 'N/A' }} | {{ $product->weight }}
{{ $product->category->name ?? 'Uncategorized' }}
₹{{ number_format($product->effective_price, 2) }}
@if($product->discount_price && $product->discount_price < $product->selling_price)
₹{{ number_format($product->selling_price, 2) }}
@endif
{{ $product->stock_quantity }} Units @if($product->weight) ({{ $product->weight }}) @endif @if($product->is_featured) Featured @endif @if($product->is_bestseller) Bestseller @endif @if($product->is_trending) Trending @endif Edit
@csrf
No products found in catalog
{{ $products->links() }}
@endsection