@extends('layouts.site') @section('title',$product->exists ? 'Edit Product' : 'Add Product') @section('content') MEDELLA STORES / CATALOGUE{{ $product->exists ? 'Edit' : 'Add' }} product. @foreach($errors->all() as $error){{ $error }}@endforeach @php($field='width:100%;padding:12px;border:1px solid #dce5ee;border-radius:5px;margin:7px 0 18px;font:14px DM Sans') @csrf @if($product->exists) @method('PUT') @endif Product name URL slug SKU / product code CategorySelect category@foreach($categories as $category)category_id)==$category->id)>{{ $category->name }}@endforeach Short description{{ old('short_description',$product->short_description) }} Full description{{ old('description',$product->description) }} Price (NGN)Previous / compare-at priceStock quantityLow-stock alert threshold Product image (JPG, PNG, WEBP; max 4 MB) @if($product->image_url)@endif is_active))> Publish product in store is_featured))> Feature on store homepage requires_shipping ?? true))> Requires physical delivery SEOSEO titleSEO description{{ old('seo_description',$product->seo_description) }} Save product ↗ Cancel @endsection
{{ $error }}