@extends('admin.master') @section('content')

Edit Product

Edit Product
{{-- Tabs --}}
{{-- ==================== TAB 1: PRODUCT DETAIL ==================== --}}
@csrf @method('PUT')
@if($product->image)
@endif
@if($product->oimages->count())
@foreach($product->oimages as $img) @endforeach
@endif
@if(!empty($product->product_icons))
@foreach($product->product_icons as $icon) @endforeach
@endif
@if($product->size_chart)
@endif
@if($product->size_chart_mobile)
@endif
{!! old('description', $product->description) !!}
{!! old('long_description', $product->long_description) !!}
{{--
--}}
{{-- ==================== TAB 2: COLORS ==================== --}}
@csrf
@foreach($product->productColors as $index => $color)
@if($color->color_image) @endif
@if($color->color_image_back) @endif
@if($color->extra_image_1) @endif
@if($color->video_file) Current video @endif
@if($color->video_thumbnail) @endif
@endforeach
{{-- ==================== TAB 3: SIZES ==================== --}}
@csrf
@foreach($product->availableSizes as $index => $size)
@endforeach
{{-- ==================== TAB 4: COLOR & SIZE TABLE ==================== --}}
Color × Size Matrix
Loading...
{{-- ==================== TAB 5: BULK PRICING ==================== --}}
@csrf
@foreach($product->bulkPrices as $index => $bulk)
@endforeach
{{-- ==================== TAB: PACKAGING CONFIGURATION ==================== --}}
@csrf
@endsection @push('js-script') @endpush