@extends('vendor.layouts.app') @section('title', 'Edit Product') @section('page-title', 'Edit Product') @push('styles') @endpush @section('content')

Edit Product

Update product information and settings

Back to List
@csrf
Basic Information
@error('name') {{ $message }} @enderror
@error('description') {{ $message }} @enderror
Product Images
@foreach($edit_data->images as $image) @endforeach
Product Variants (Optional)
@forelse($groupedVariants ?? [] as $key => $variant)
@if($loop->first) @else @endif
@empty
Variants are optional. You can skip this section if your product doesn't have size/color variations.
@endforelse
Wholesale Configuration
Define pricing tiers for bulk purchases
@if($wholesalePrices && $wholesalePrices->count() > 0) @foreach($wholesalePrices as $key => $tier)
@if($loop->first) @else @endif
@endforeach @else
@endif
SEO Configuration
@if(!empty($edit_data->meta_image))
Meta Image
@endif
Publish Settings
Organization
@error('category_id') {{ $message }} @enderror
Pricing & Inventory
@php $currentType = old('product_type', $edit_data->is_digital ? 'digital' : 'physical'); $isDigital = $currentType === 'digital'; @endphp
Special price for resellers. Leave empty if not applicable.
@if($edit_data->digital_file)
Current File: {{ $edit_data->digital_file }}
@endif
@endsection @push('scripts') @endpush