@extends('admin.layouts.app', ['title' => 'Products']) @section('content')

Product Management

@forelse ($products as $product) @empty @endforelse
ProductSKUPriceStockFlagsStatus
{{ $product->name }}
{{ $product->category->name ?? 'No category' }}
{{ $product->sku }} ${{ number_format($product->sale_price ?? $product->price, 2) }} {{ $product->stock }} @if($product->stock <= $product->low_stock_threshold)Low@endif @if($product->is_featured)Featured@endif @if($product->is_ready_to_wear)RTW@endif @if($product->is_made_to_order)MTO@endif {{ $product->status }} Edit
@csrf
@csrf
No products found.
{{ $products->links() }}
@endsection