@php $isEdit = request()->is('*edit*'); @endphp
Basic Information
@if (!$isEdit)
@endif
Pricing
SEO
Content
Images
@if (!empty($product->flip_image))
@endif
@if (!empty($product->banner_image)) @endif
Status & Visibility
is_banner ?? false) ? 'checked' : '' }}>
is_popular ?? false) ? 'checked' : '' }}>
@php $checkedDesigns = old('designs', $product->designs->pluck('id')->toArray()); if (empty($checkedDesigns)) { $checkedDesigns = $productDesigns->pluck('id')->toArray(); } @endphp @if (count($productDesigns) > 0)
Product Designs
@foreach ($productDesigns as $design)
id, $checkedDesigns) ? 'checked' : '' }} class="form-check-input me-2">
@endforeach
@endif @if (count($variants) > 0)
Product Variants
@foreach (array_keys($variants) as $attribute) @endforeach
{{ str_replace('Select ', '', $attribute) }}Stock Price Action
@endif
@push('scripts') @endpush