@extends('backend.layouts.master') @section('content')

Edit Product

Edit Product — {{ $product->name }}
{{-- AJAX Alert (will appear at top) --}} {{-- ==================== TABS ==================== --}}
{{-- ==================== TAB 1: Product Detail ==================== --}}
@csrf
@if($product->image)
@endif
@foreach($product->oimages as $img) @endforeach
{{--
@foreach($product->product_icons ?? [] as $icon) @endforeach
--}}
@if($product->size_guide)
@endif
If empty, the desktop chart is shown on mobile. @if($product->size_guide_mobile)
@endif
{!! old('description', $product->description) !!}
{{--
--}}
{{--
--}}
{{-- ==================== TAB 5: Bulk Pricing ==================== --}}
@csrf {{-- Bulk Pricing --}}
Bulk Pricing
@forelse($product->bulkPrices as $index => $bulk)
@empty
@endforelse
{{-- ==================== TAB 2: Color ==================== --}}
@csrf
@forelse($product->productColors as $index => $color)
@if($color->color_image) View current @endif
@if($color->color_image_back) View current @endif
@if($color->extra_image_1) View current @endif
@if($color->extra_image_2) View current @endif
@if($color->color_video) View current @endif
@if($color->color_video_thumb) View current @endif
@empty
@endforelse
{{-- ==================== TAB 3: Sizes ==================== --}}
@csrf
@forelse($product->availableSizes as $index => $size)
@empty
@endforelse
{{-- ==================== TAB 4: Color & Size Table ==================== --}}
Color × Size Availability
Sr. Color SIZES

This Table is auto-generated from the Colors and Sizes tabs.

{{-- ==================== TAB 5: Logo Style ==================== --}}
@csrf
Logo Style
@if($product->logo_style_print_file) View current @endif
@if($product->logo_style_embroidery_file) View current @endif
Design Type
@if($product->design_type_logo_file) View current @endif
@if($product->design_type_text_file) View current @endif
{{-- ==================== TAB 6: Logo Placement ==================== --}}
@csrf
@forelse($product->logoPlacements as $index => $placement)
@if($placement->lp_image) View current @endif
@empty
@endforelse
{{-- ==================== TAB: Placement Config ==================== --}}
@csrf
{{-- ==================== TAB: Packaging Configuration ==================== --}}
@csrf
@endsection @push('js-script') @endpush