@extends('admin.layout') @section('content')

{{ __('Product') }}

{{ __('Edit Product') }}

@csrf
@if ($errors->has('image'))

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

@endif

{{ __('Upload 270X290 (Pixel) Size image for best quality. Only jpg, jpeg, png image is allowed.') }}

@if ($errors->has('language_id'))

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

@endif
@if ($errors->has('title'))

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

@endif
@if ($errors->has('category_id'))

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

@endif
@if ($errors->has('current_price'))

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

@endif
@if ($errors->has('previous_price'))

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

@endif
@if ($errors->has('sku'))

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

@endif
@if ($errors->has('stock'))

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

@endif
@if ($errors->has('short_description'))

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

@endif
@if ($errors->has('description'))

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

@endif
is_downloadable == 1) checked @endif @if(old('is_downloadable')) checked @endif id="is_downloadable" name="is_downloadable" value="1">
{{ __('Upload File') }}
@if ($errors->has('downloadable_file'))

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

@endif
{{ __('Upload Gallery Images') }}

{{ __('Upload 540X540 (Pixel) Size image for best quality. Only jpg, jpeg, png image is allowed.') }}

@foreach (explode(',,,',$product->attributes_title) as $attr_key => $attr_title) @php $attr_desc = explode(',,,',$product->attributes_description); @endphp
@endforeach
@if ($errors->has('meta_tags'))

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

@endif
@if ($errors->has('meta_description'))

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

@endif
@if ($errors->has('status'))

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

@endif
@endsection