@section('title') Edit Product Variation @endsection @section('breadcrumbs') {{ Breadcrumbs::render('products.variations.edit', $product, $variation) }} @endsection @push('styles') @endpush
@csrf @method('PUT')

Product Information

@if($product->image) {{ $product->title }} @else
{{ substr($product->title, 0, 1) }}
@endif
{{ $product->title }}
@if($product->category)
Category: {{ $product->category->name }}
@endif

General

@error('title')
{{ $message }}
@enderror
A variation title is required and recommended to be unique.
@error('description')
{{ $message }}
@enderror
Set a description to the variation for better visibility.

Attribute Sets

Create multiple attribute combinations. Each set represents a unique combination of attributes.
@foreach($variation->attributeSets as $index => $attributeSet)
Attribute Set {{ $index + 1 }}
@foreach($product->attributes as $attribute)
@endforeach
Upload Image

Click here to select

Recommend Size: 1920 x 1080
@if($attributeSet->image) Preview @else Preview @endif
Video File

No file selected
{{ $attributeSet->image ? 'Image Uploaded' : 'File Uploaded' }}
Upload image for this attribute combination
@endforeach
@push('scripts') {!! JsValidator::formRequest('App\\Http\\Requests\\Backend\\Product\\ProductVariationRequest', '#kt_variation_form') !!} @endpush