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

{{ $message }}

@enderror
{!! old('description') ?? $product->description !!}
@error('description')

{{ $message }}

@enderror
{{ __('Generale Information') }}
@error('category')

{{ $message }}

@enderror
@error('sub_category')

{{ $message }}

@enderror
@foreach ($brands as $brand) @endforeach
@foreach ($units as $unit) @endforeach
{{ __('Price Information') }}
@foreach ($taxes as $tax) @endforeach
colors->isEmpty()) style="display: none" @endif>

{{ __('Color wise extra price') }}

@php $productPrice = $product->discount_price > 0 ? $product->discount_price : $product->price; @endphp @foreach ($product->colors as $color) @endforeach
{{ __('Name') }} {{ __('Extra Price') }} {{ __('Action') }}

{{ $color->name }}

{{ $productPrice }}
sizes->isEmpty()) style="display: none" @endif>

{{ __('Size wise extra price') }}

@foreach ($product->sizes as $size) @endforeach
{{ __('Size') }} {{ __('Extra Price') }} {{ __('Action') }}

{{ $size->name }}

{{ $productPrice }}
{{ __('Thumbnail') }} (Ratio 1:1 (500 x 500 px))
@error('thumbnail')

{{ $message }}

@enderror
{{ __('Additional Thumbnail') }} (Ratio 1:1 (500 x 500 px))
@error('additionThumbnail')

{{ $message }}

@enderror
@foreach ($product->medias as $media) @endforeach
{{ __('Carica Video prodotto') }}
{{ __('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 info') }}
@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