@extends('layouts.admin') @section('title', 'Edit Product - ' . $product->name . ' - ' . $vendor->vendor_name) @section('content')

Edit Product

@csrf @method('PUT')
Basic Information
@error('name')
{{ $message }}
@enderror
@error('short_description')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@error('bizspot_sub_category_id')
{{ $message }}
@enderror
@error('product_brand_id')
{{ $message }}
@enderror
@error('sku')
{{ $message }}
@enderror
Pricing
@error('base_price')
{{ $message }}
@enderror
@error('sale_price')
{{ $message }}
@enderror
@error('cost_price')
{{ $message }}
@enderror
Inventory Management
@error('stock_quantity')
{{ $message }}
@enderror
@error('low_stock_threshold')
{{ $message }}
@enderror
track_inventory) ? 'checked' : '' }}>
allow_backorder) ? 'checked' : '' }}>
@if($product->featured_image || $product->gallery_images)
Current Images
@if($product->featured_image)
Featured
@endif @if($product->gallery_images && is_array($product->gallery_images) && count($product->gallery_images) > 0)
@foreach($product->gallery_images as $image)
Gallery
@endforeach
@endif
@endif
Update Images
Leave empty to keep current image @error('featured_image')
{{ $message }}
@enderror
Leave empty to keep current gallery @error('gallery_images.*')
{{ $message }}
@enderror
Product Settings
is_featured) ? 'checked' : '' }}>
is_digital) ? 'checked' : '' }}>
requires_shipping) ? 'checked' : '' }}>
is_taxable) ? 'checked' : '' }}>
Cancel
@endsection