@extends('backend.template.layouts.template-base') @section('title', 'Product Management - Edit Section') @section('content')

Edit Section

@csrf {{-- ── Section Info ──────────────────────────────────────────────── --}}
{{-- Row 1: Category | Section Name | Section Type | Status --}}
status === 'active' ? 'checked' : '' }}>
status === 'inactive' ? 'checked' : '' }}>
{{-- Category selection display --}}

No categories selected yet!

On selecting multiple categories, the section will be displayed in all selected categories.
@if ($section->category_id && $section->category) {{ $section->category->name }} × @endif
{{-- Background Image + Short Description --}}
@if ($section->background_image)
@else
@endif

Click to Upload or drag and drop

Upload image format should be only PNG, JPG or JPEG.
Also, max file size should be 10MB
@if ($section->background_image) Upload a new image to replace the current one. @endif
{{-- ── Add Product ───────────────────────────────────────────────── --}}
{{-- Toggle header --}}
Add Product?

You can add products from the product list to active the section in the application. Section won't visible in application until product get added.

{{-- Product section (toggled) --}}
{{-- Search --}}
{{-- Search results --}} {{-- Added products table --}}
S.no Product Group Product Img Product Name Variant & Units Action
{{-- Empty state --}}
{{-- ── SEO Settings ───────────────────────────────────────────────── --}}

SEO Settings

seo && ($section->seo->meta_title || $section->seo->meta_description || $section->seo->schema || $section->seo->h1 || $section->seo->image_alt)) ? 'checked' : '' }}>
{{-- Hidden scheduling inputs populated from the confirm modal --}}
Cancel
{{-- Confirm Update Section Modal --}}
@endsection @section('scripts') @endsection