@extends('layout.store_layout.master') @section('custom_css') @endsection @section('content')
@csrf

@lang('admin.main_image')

{{--
Set the category thumbnail image. Only *.png, *.jpg and *.jpeg image files are accepted
--}}
@lang('general.allowed_files_types',['types'=>'png, jpg, jpeg'])

@lang('admin.status')

@lang('admin.select_the_publication_status_for_the_product')

@lang('admin.general_information')

@foreach(getStoreLanguages() as $language)
code",($product->translate($language->code)?$product->translate($language->code)->name:'')) }}" class="form-control mb-2{{ $errors->has("name.$language->code") ? ' is-invalid' : '' }}"> @if ($errors->has("name.$language->code")) {{ $errors->first("name.$language->code") }} @endif
@lang('admin.name_is_required_and_preferably_be_distinctive')
code") ? ' is-invalid' : '' }}">{!! old("description.$language->code",($product->translate($language->code)?$product->translate($language->code)->description:'')) !!}
@if ($errors->has("description.$language->code")) {{ $errors->first("description.$language->code") }} @endif
@lang('admin.set_a_product_description_for_better_visibility')
@endforeach
{{--
Set the product price.
--}}

@lang('admin.price')

{{--
Set the product price.
--}}
@lang('admin.specify_the_product_price_after_the_discount')

@lang('admin.product_images')

>@lang('admin.attach_product_images')

{{--Upload up to 10 files--}}
@lang('admin.set_up_product_gallery')

@lang('admin.stock')

is_limited == 0) disabled="disabled" @endif placeholder="@lang('admin.quantity')" value="{{$product->qty}}"/>
is_limited == 0?'checked':''}}/>
@lang('admin.enter_the_product_quantity')
can_reserve == 1?'checked':''}} {{$product->is_limited == 0?'disabled':''}}/>
السماح للزبائن بحجز المنتج في حاله نفاذة من المخزن.
hide_on_empty == 1?'checked':''}}/>
@lang('admin.activate_deactivate_the_feature_to_hide_the_product_when_the_quantity_runs_out')

@lang('admin.product_features')

@php $pp = 0; @endphp
@foreach($product->features as $pFeature)
@php $pl = 0; @endphp @foreach(getStoreLanguages() as $language)
@php $pl++; @endphp
@endforeach
@php $pp++; @endphp @endforeach

@lang('admin.additional_product_options')

@lang('admin.choose_available_colors')
@foreach($colors as $color) @endforeach
@lang('admin.choose_available_sizes')
@foreach($sizes as $size) @endforeach
@lang('admin.choose_available_lengths')
@foreach($lengths as $length) @endforeach
@lang('general.cancel')
@endsection @section('custom_js') @endsection