@extends('user.header') @section('userContent') @include('extensions.alerts')
@csrf @method('PATCH')

PRODUCT BASIC INFO

@if (getDropdowns('Product Condition')->displayflag === 1)
@endif
@if (isset($product->mappedCategories[1]))
@endif
@if (isset($product->mappedCategories[2]))
@endif
@if (isset($product->mappedCategories[3]))
@endif
@if (isset($product->mappedCategories[4]))
@endif
PRODUCT ATTRIBUTES

@if (!empty($productData['productFilters'])) @foreach ($productData['productFilters'] as $filter)
@endforeach @endif

PRICING & IMAGES

variant_type === 'wholesale') checked @endif type="radio" id="variant_type1" name="variant_type" value="wholesale" class="variant-checkbox" required onchange="getVariantType()">
variant_type === 'single') checked @endif type="radio" id="variant_type2" name="variant_type" value="single" class="variant-checkbox" required onchange="getVariantType()">
have_options === 1) checked @endif type="checkbox" id="have_options1" name="have_options" value="1" class="variant-checkbox have-options" onchange="getVariantType()">
PRICING & STOCK

@foreach ($productData['pricing'] as $key => $price) {{-- @if ($key > 0) --}}
@if ($product->variant_type === 'wholesale')
@if (getDropdowns('Slot Unit')->displayflag === 1)
@endif
@endif @if ($product->have_options === 1 && !$productData['productTypes']->isEmpty()) @foreach ($productData['productTypes'] as $typeKey => $type) @if ($typeKey <= 1) @php if ($typeKey % 2 === 0): $typeId = $price->type_value_id_1; else: $typeId = $price->type_value_id_2; endif; @endphp
@endif @endforeach @endif
Edit
{{-- @endif --}} @endforeach {{-- single product no variant starts --}} @if ($product->variant_type === 'single' && $product->have_options === 0)
@endif {{-- single product no vairant end --}}
IMAGES

@foreach ($product->images as $image)
image }}' />
@endforeach
DESCRIPTION & TERMS

@if (getDropdowns('Warranty Period & Site')->displayflag === 1)
@endif {{--
--}}
{{--

SHIPPING GROUP

--}} {{--
--}}
SHIPPING & DELIVERY


{{--
--}}
PAYMENT OPTIONS

@if (getDropdowns('Select Pay')->displayflag === 1)
@endif @if (getDropdowns('Select Partial')->displayflag === 1)
@endif @if (getDropdowns('Select Payment Method')->displayflag === 1)
@endif @if (getDropdowns('Payment instruction for bank deposit')->displayflag === 1)
@endif

@routes @endsection