{{ $record ? $record->name : 'New product' }}

Products / {{ $record ? 'Edit' : 'Create' }} @if ($record && $record->isVisible()) · View on store ↗@endif
Unsaved changes Cancel
@if ($errors->any()) @endif
{{-- MAIN COLUMN --}}
Details
Media4:5 · min 600px · JPG, PNG, WebP · converted to WebP
@if (! $record)

Save the product first, then add images.

@else
@foreach ($images as $img)
{{ $img->alt }}@if ($loop->first)Cover@endif
@endforeach
@error('upload'){{ $message }}@enderror @error('uploads.*'){{ $message }}@enderror @endif
{{ $isBundle ? 'Bundle options' : 'Variants' }}
@foreach ($variants as $i => $variant)
@php $c = $colours->firstWhere('id', $variant['colour_id']); @endphp {{ $variant['name'] ?: 'Variant '.($i + 1) }} @if (! empty($variant['id']) && isset($stock[$variant['id']]))· {{ $stock[$variant['id']] }} available@endif
@if (empty($variant['id']) && ! $isBundle) @endif
@if ($isBundle)
Contains @foreach ($variant['components'] ?? [] as $ci => $component)
@endforeach @error("variants.$i.components"){{ $message }}@enderror
@else
AI colour reference
{{ $variant['ai_reference_path'] ? 'A reference is on file. Upload to replace.' : 'Natural hair, daylight, no filter.' }} @error("aiReferences.$i"){{ $message }}@enderror
@endif @if (count($variants) > 1) @endif
@endforeach
Product page sections

Shown as expandable rows on the product page. Empty sections are skipped. Markdown supported.

@foreach ($sections as $i => $row)
@endforeach
Specs
@foreach ($specs as $i => $row)
@endforeach
{{-- SIDE COLUMN --}}
Status
Organisation
Collections @forelse ($collections as $id => $name) @empty No collections yet. @endforelse
Search & sharing