{{-- Product Specifications Section --}}
{{-- Section Header --}}

Product Specifications @if($specsModified) Modified @endif

Organize and manage detailed product specifications

{{-- Action Buttons --}}
{{-- Import from Product (only for inventory items) --}} @if(property_exists($this, 'model_id') && isset($this->model_id) && method_exists($this, 'products')) @if($this->products->find($this->model_id)?->product_specs) @endif @endif {{-- Clear All --}} @if(!empty($specCategories)) @endif {{-- Save Specs Only --}} @if($specsModified) @endif
{{-- Validation Errors --}} @if($errors->has('category_rename'))

{{ $errors->first('category_rename') }}

@endif {{-- Success Message --}} {{-- Specifications Categories --}}
@if(!empty($specCategories)) @php $categoryIndex = 0; @endphp @foreach($specCategories as $category => $specs) @php // Handle case where specs might be a string (JSON) instead of array if (is_string($specs)) { $specs = json_decode($specs, true) ?? []; } if (!is_array($specs)) { $specs = []; } @endphp @endforeach {{-- Add New Category Button --}}
@else {{-- Empty State --}}

No specifications

Get started by adding your first specification category.

@endif
{{-- Specification Modal --}} {{-- Import Confirmation Modal --}} {{-- Clear All Confirmation Modal --}}