@extends('layouts.app') @section('title', 'My Products') @section('content')

My Products

Manage your product listings

+ Add New Product
@if(session('success'))
{{ session('success') }}
@endif @if($products->count() > 0)
@foreach($products as $product) @endforeach
Product SKU Category Price Stock Status Actions
@if($product->image_url) {{ $product->name }} @else
📦
@endif

{{ Str::limit($product->name, 40) }}

@if($product->is_featured) Featured @endif
{{ $product->sku }} {{ $product->category?->name ?? '-' }} R {{ number_format($product->price, 2) }} @if($product->stock_quantity > 10) {{ $product->stock_quantity }} @elseif($product->stock_quantity > 0) {{ $product->stock_quantity }} @else 0 @endif {{ $product->is_active ? 'Active' : 'Inactive' }}
Edit
@csrf @method('DELETE')
{{ $products->links() }}
@else
📦

No products yet

Start adding products to sell on ProcureHub.

Add Your First Product
@endif
@endsection