@php $subcategories = $categories->firstWhere('id', $product->category_id)?->subcategories ?? collect(); @endphp
Edit Product
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
@endif
@csrf @method('PUT')
Shop Listing Details
{{ old('description', $product->description) }}
Pricing
Variants

Edit details, replace images, or untick "Active" to stop selling a variant without deleting it.

@foreach ($product->variants as $variant) @endforeach
ActiveImageVariantColorSizeInternal SKUWeight (lb)Cost
is_active)> ${{ number_format($variant->cost_price, 2) }}
@if ($availableVendorVariants->isNotEmpty())
Add More Variants

More variants are available from {{ $product->source_vendor === 'cj' ? 'CJ Dropshipping' : 'Printful' }} for this product. Tick the ones you want to start selling.

@foreach ($availableVendorVariants as $i => $variant) @endforeach
AddImageVariantColorSizeVendor SKUInternal SKUWeight (lb)
{{ $variant['vendor_sku'] }}
@endif
Product Images

Uncheck to remove, or upload more. Up to 5 images total.

@forelse ($product->images ?? [] as $image)
@empty
No images yet.
@endforelse
JPG/PNG/WEBP, 5MB max per image.
Product Video (optional)
@if ($product->video_path)
@endif
MP4 only, 20MB max.
Publish
is_active)>