@extends('vendor.layouts.app') @section('title', 'Edit Product') @section('style') @endsection @section('content') Edit Product {{ $product->name }} ({{ $product->sku }}) @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @csrf @method('PUT') Product Status Control product visibility on your store Basic Information Product Name SKU Barcode (UPC/EAN) Product Description {{ old('description', $product->description) }} Product Images @php $images = $product->images ?? []; @endphp @for ($i = 0; $i < 6; $i++) × @if(isset($images[$i])) @else @if($i == 0) Main Image @else @endif @endif @endfor Upload up to 6 images. First image will be used as main product image. Max 2MB each. Pricing & Discounts Regular Price Sale Price Cost per Item Profit Margin @if ($product->sale_price && $product->sale_price < $product->regular_price) @php $discountPercent = round((1 - ($product->sale_price / $product->regular_price)) * 100); @endphp ⚠️ Sale price is {{ $discountPercent }}% off. @else @endif Inventory Stock Quantity Low Stock Alert Weight (kg) @csrf @method('DELETE') Delete Product Cancel Save Changes @endsection @section('script') @endsection
{{ $product->name }} ({{ $product->sku }})
Control product visibility on your store