@extends('admin.layouts.app') @section('title', 'Products') @section('page-title', 'Products') @section('content')

All Products

Add Product
@forelse($products as $product) @empty @endforelse
Product SKU Category Price Stock Status Actions
@if($product->images->first()) {{ $product->name }} @endif
{{ $product->name }}
@if($product->is_featured) Featured @endif
{{ $product->sku ?? '-' }} {{ $product->category->name }} {{ $currency_symbol }}{{ number_format($product->base_price, 2) }} @if($product->hasActiveDiscount()) ({{ $currency_symbol }}{{ number_format($product->discount_price, 2) }}) @endif {{ $product->total_stock }} @if($product->total_stock <= 10) Low @endif {{ $product->is_active ? 'Active' : 'Inactive' }}
@csrf @method('DELETE')
No products found
{{ $products->links() }}
@endsection