@extends('backend.layout') @push('backend_css') @endpush @section('backend_content')
{{-- ══ Header ══ --}}

Edit Product

{{ $product->product_title }} ({{ $shop->name }})
Back
{{-- ══ Edit Form ══ --}}
@csrf @method('PUT') {{-- ══ Basic Information ══ --}}
@error('product_title')
{{ $message }}
@enderror
{{-- ══ Pricing ══ --}}
@error('price')
{{ $message }}
@enderror
@error('offer_price')
{{ $message }}
@enderror
Leave empty for always-on offer price. @error('offer_expiry_date')
{{ $message }}
@enderror
@error('stock')
{{ $message }}
@enderror
{{-- ══ Feature Image ══ --}}
@if ($product->feature_image) {{ $product->product_title }} @endif
@error('feature_image')
{{ $message }}
@enderror Max size: 2MB. Formats: JPEG, PNG, JPG, GIF, WebP (Leave empty to keep current)
{{-- ══ Gallery Images ══ --}}
@if ($product->images->count() > 0)
Current Gallery Images:
@endif @error('gallery_images')
{{ $message }}
@enderror Add more images. Max size per image: 2MB. Formats: JPEG, PNG, JPG, GIF
{{-- ══ Dynamic Product Attributes ══ --}}
Product Variations / Attributes
Add dynamic attributes based on product type. Example: RAM = 4GB,8GB · Type = Inverter,Non Inverter
Variant Availability
Track stock for sellable variants like Black, White, 64GB, or XL. When variants are added, product stock is calculated automatically from these rows.
Cancel
@php $deleteImageUrlTemplate = route('admin.shops.products.images.destroy', [ 'shop' => $shop, 'product' => $product, 'image' => '__IMAGE__', ]); @endphp @endsection