@extends('layouts.admin') @section('page-title','Bulk Upload') @section('content')
{{-- LEFT: UPLOAD ZONE --}}
{{-- CSV UPLOAD --}}
📊 Step 1 — Upload CSV

Upload a CSV file with product data. Each row becomes a product in your catalogue.

@csrf
📊
Drop CSV file here
or click to browse · Max 10 MB
@error('csv_file')
{{ $message }}
@enderror
Required CSV columns:
name, category, price, cost_price, stock
Optional columns:
description, badge, old_price
{{-- IMAGE UPLOAD --}}
🖼️ Step 2 — Upload Images (Optional)

Name each image after the product slug (e.g. airpods-ultra.jpg). Images are matched automatically during import.

🖼️
Drop images here
JPG, PNG, WebP · Multiple files OK · Max 5 MB each
{{-- RIGHT: MANUAL ADD --}}
➕ Add Single Product
@csrf
@error('name')
{{ $message }}
@enderror
@endsection @push('scripts') @endpush