@extends('layouts.app') @section('header-title', __('Edit Product')) @section('content')
{{ __('Edit Product') }}
@csrf @method('PUT')
{{ config('app.url') }}
@error('slug')

{{ $message }}

@enderror
@error('short_description')

{{ $message }}

@enderror
@hasPermission('admin.product.generate.AI.data') @endhasPermission
{!! old('description') ?? $product->description !!}
@error('description')

{{ $message }}

@enderror
{{ __('Generale Information') }}
@foreach ($brands as $brand) @endforeach
@error('code')

{{ $message }}

@enderror
{{ __('Categories') }}
@error('categories')

{{ $message }}

@enderror
{!! $htmlTree !!}
{{ __('Category Attribute') }}
{!! $attributeHtmlTree !!}
{{ __('Price Information') }}
{{ __('Thumbnail') }} (Ratio 1280 x 960 px) *
@error('thumbnail')

{{ $message }}

@enderror
{{ __('Additional Thumbnail') }} (Ratio 1280 x 960 px) *
@error('additionThumbnail')

{{ $message }}

@enderror
@foreach ($product->medias as $media)
@endforeach
{{ __('Upload or Add Product Video') }}
{{ __('Supported formats: MP4, AVI, MOV, WMV') }}
{{ __('Paste a valid YouTube video embed code') }}
{{ __('Paste a valid Vimeo video embed code') }}
{{ __('Paste a valid Dailymotion video embed code') }}
@error('uploadVideo.file')

{{ $message }}

@enderror
{{ __('SEO Information') }}
@error('meta_description')

{{ $message }}

@enderror
@lang('Write keywords and Press enter to add new one') @error('meta_keywords')

{{ $message }}

@enderror
@endsection @push('css') @endpush @push('scripts') @endpush