{{__('admin.Edit Product')}}

{{__('admin.Products')}}
@csrf @method('PUT')
@foreach($product->gallery as $key=>$pGImg) @endforeach

@php // Extract the IDs of selected subcategories $allSubcategories = $product->subcategories; $selectedSubcategoryIds = $product->subcategories->pluck('id')->toArray(); // Get all available subcategories @endphp
@if ($product->vendor_id != 0)
@endif
@php $size_id = []; foreach($product->variations as $v){ $size_id[] = $v->size_id; } @endphp
@if(!empty($product->type == 'variable')) @if(!empty($product->prod_color == 'varcolor'))
@foreach($product->variations as $v) @endforeach
Sizesssss Price Action
Add Delete
@else
@foreach($product->variations as $v) @endforeach
Size Price Action
Add Delete
@endif @endif
@if($product->colorVariations->count()) @foreach($product->colorVariations as $vc) @endforeach @else @endif
Color Image preview Action
Add Delete
Add
@if(!empty($var_stock))
@foreach($var_stock as $key=>$vstock) @endforeach
SL Variation Quantity
x {{$key+1}} {{$vstock->sizeName}}
@endif