@extends('admin.layouts.app') @section('title', $product->exists ? 'Edit Product' : 'New Product') @section('heading', $product->exists ? 'Edit · ' . $product->name : 'New Product') @section('content')
Back to products @if($product->exists)
View on site
@csrf
@csrf @method('DELETE')
@endif
@if($errors->any())
Please fix the following:
@endif
@csrf @if($product->exists) @method('PUT') @endif

Basic information

Public name and description shoppers will see.

Pricing

Set the selling price and an optional compare-at price to show discounts.

$
$
%
Set to 0 to show "Out of stock".

Organization

Helps customers browse and filter your catalog.

Main image

Primary display image · 300×300 · JPG/PNG · max 10MB.

Gallery images

Up to 4 extra images shown as thumbnails on the product detail page.

Click a slot to upload · main image is always shown first.
Cancel @if($product->exists)
Created{{ $product->created_at?->format('M d, Y') }}
Updated{{ $product->updated_at?->format('M d, Y · H:i') }}
@endif
@endsection