@php
$importCols = [
'company' => ['required', 'Company name — must match exactly e.g. Somerset4x4'],
'sku' => ['required', 'Unique product identifier — used to match on update'],
'name' => ['create', 'Product display name'],
'price' => ['optional', 'Selling price'],
'cost' => ['optional', 'Cost / purchase price'],
'tax_rate' => ['optional', 'Default tax rate as % e.g. 20.00 for 20%'],
'barcode' => ['optional', 'UPC / EAN barcode'],
'reference' => ['optional', 'Internal reference code'],
'type' => ['optional', 'goods or service (default: goods)'],
'description' => ['optional', 'Internal product description'],
'description_sale' => ['optional', 'Description on sales documents'],
'description_purchase' => ['optional', 'Description on purchase documents'],
'enable_sales' => ['optional', '1 or 0 — allow on sales orders'],
'enable_purchase' => ['optional', '1 or 0 — allow on purchase orders'],
'is_favorite' => ['optional', '1 or 0 — mark as favourite'],
'sub_title' => ['optional', 'Short product tagline displayed below the title on the storefront'],
'track_inventory' => ['optional', '1 or 0 — enable inventory tracking'],
'uom' => ['optional', 'Unit of measure e.g. Units, kg, L, Hours (default: Units)'],
'weight' => ['optional', 'Weight in kg'],
'volume' => ['optional', 'Volume in m³'],
'length' => ['optional', 'Length in cm'],
'width' => ['optional', 'Width in cm'],
'height' => ['optional', 'Height in cm'],
];
@endphp
@foreach($importCols as $col => [$status, $hint])
{{ $col }}
@if($status === 'required')
required
@elseif($status === 'create')
create only
@else
optional
@endif
@endforeach