@extends('layouts.app') @section('title', 'Edit Product') @section('subtitle', 'Update your product listing') @section('content')

Edit Product Information

Update the details for your product listing

@csrf @method('PUT')
@error('name')

{{ $message }}

@enderror
@error('description')

{{ $message }}

@enderror
@error('price')

{{ $message }}

@enderror
@error('quantity')

{{ $message }}

@enderror
@error('category')

{{ $message }}

@enderror
@if($product->images && count($product->images) > 0)
@foreach($product->getImageUrls() as $index => $imageUrl)
{{ $index + 1 }}
@endforeach

Upload new images below to replace current ones

@endif

Upload new images to replace current ones (JPEG, PNG, JPG, GIF, max 2MB each)

@error('images.*')

{{ $message }}

@enderror
@if($product->isRejected() && $product->rejection_reason)

Rejection Reason

{{ $product->rejection_reason }}

@endif
Current Status: {{ ucfirst($product->status) }}
Cancel
@endsection