@extends('layouts.admin-simple') @section('title', 'Edit Product') @section('page-title', 'Edit Product') @section('breadcrumb') @endsection @section('content')

Edit Product: {{ $product->name }}

@csrf @method('PUT')
Choose the main product category
Choose the applicable standard
@error('application_id')
{{ $message }}
@enderror Choose the specific application
@error('name')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
@error('features')
{{ $message }}
@enderror
@error('thickness_min')
{{ $message }}
@enderror
@error('thickness_max')
{{ $message }}
@enderror
@error('thickness_unit')
{{ $message }}
@enderror
@if($product->image)
{{ $product->name }}
Current image
@endif @error('image')
{{ $message }}
@enderror Upload a new image to replace the current one
@if($product->images)
@foreach($product->images as $additionalImage)
{{ $product->name }}
@endforeach
Current additional images
@endif @error('images.*')
{{ $message }}
@enderror Upload new images to replace all current additional images
@error('sort_order')
{{ $message }}
@enderror
is_featured) ? 'checked' : '' }}>
is_active) ? 'checked' : '' }}>
Technical Specifications
@foreach($product->technicalSpecifications as $index => $spec) @endforeach
Length Width Technical Specification File Action
@if($spec->file_path) check_circle Current: {{ $spec->file_name }} @endif
@if($product->technicalSpecifications->count() == 0)

No technical specifications added yet. Click "Add Specification" to get started.

@endif
cancel Cancel

Product Information

Slug: {{ $product->slug }}
Category: @if($product->application && $product->application->standard && $product->application->standard->category) {{ $product->application->standard->category->name }} @elseif($product->standard && $product->standard->category) {{ $product->standard->category->name }} @else N/A @endif
Standard: @if($product->application && $product->application->standard) {{ $product->application->standard->name }} @elseif($product->standard) {{ $product->standard->name }} @else N/A @endif
Application: {{ $product->application ? $product->application->name : 'N/A' }}
Specifications: {{ $product->specifications->count() }}
Created: {{ $product->created_at->format('M d, Y') }}
Updated: {{ $product->updated_at->format('M d, Y') }}

Quick Actions

visibility View Product
@csrf @method('DELETE')
@push('scripts') @endpush @endsection