@extends('layouts.vendor') @section('page-title', 'Wholesale Products') @push('styles') @endpush @section('content')
{{-- Page Header --}} @if($wholesaleProducts->count() > 0) {{-- Table Card --}}
@foreach($wholesaleProducts as $product) @endforeach
Product Min Order Base Price Stock Status Created Actions
@if($product->thumbnail) @else @endif

{{ $product->name }}

{{ $product->sku ?? $product->barcode ?? 'N/A' }}

{{ $product->min_order_quantity }} units ${{ number_format($product->price, 2) }} {{ $product->current_stock }} {{ ucfirst($product->status) }} {{ $product->created_at->format('M d, Y') }}
@csrf @method('DELETE')
@if($wholesaleProducts->hasPages())
{{ $wholesaleProducts->links() }}
@endif
@else {{-- Empty State --}}

No wholesale products yet

Start selling products in bulk with wholesale pricing tiers.

@endif
@endsection {{-- Add Wholesale Modal (outside content to avoid z-index/clipping) --}} @push('scripts') @endpush