{!! Form::label('name', __('Product Name *')) !!}
{!! Form::text('name', null, ['class'=>'form-control', 'placeholder'=>__('Enter name'), 'required'])!!}
{!! Form::label('model', __('Product Code *')) !!}
{!! Form::text('model', null, ['class'=>'form-control', 'placeholder'=>__('Enter Product Code'), 'required'])!!}
@lang('Specification Type') |
@lang('Value') |
{{-- @lang('Unit') | --}}
|
{!! Form::select('specification_type[]', $specification_types, null, ['class'=>'form-control selectpicker', 'data-style'=>'btn-default']) !!}
|
{!! Form::text('specification_type_value[]', null, ['class'=>'form-control', 'placeholder'=>__('Example: 14, 3.5, red')])!!}
|
{{--
{!! Form::text('specification_type_unit[]', null, ['class'=>'form-control', 'placeholder'=>__('kg, GHz (Leave blank if no unit)')])!!}
| --}}
|
@lang('Name') |
{{-- @lang('Value') | --}}
|
{!! Form::text('custom_field_name[]', null, ['class'=>'form-control', 'placeholder'=>__('Name')])!!}
|
{{--
{!! Form::text('custom_field_value[]', null, ['class'=>'form-control', 'placeholder'=>__('Value')])!!}
| --}}
|
{!! Form::label('description', __('Description')) !!}
{!! Form::textarea('description', null, ['class'=>'form-control', 'placeholder'=>__('Enter description')]) !!}
{!! Form::label('fabric_details', __('Fabric Details')) !!}
{!! Form::textarea('fabric_details', null, ['class'=>'form-control', 'placeholder'=>__('Enter fabric details')]) !!}
{!! Form::label('return_exchange_policy', __('Return & Exchange Policy')) !!}
{!! Form::textarea('return_exchange_policy', null, ['class'=>'form-control', 'placeholder'=>__('Enter return and change policy')]) !!}
{!! Form::label('regular_price', __('Regular Price *')) !!}
{!! Form::number('regular_price', null, ['id' => 'regular_price', 'class'=>'form-control', 'step'=>'any', 'placeholder'=>__('Enter regular price'), 'required']) !!}
{!! Form::label('price', __('Base Selling Price *')) !!}
{!! Form::number('price', null, ['id' => 'selling_price', 'class'=>'form-control', 'step'=>'any', 'placeholder'=>__('Enter selling price'), 'required', '']) !!}
{!! Form::label('tax_rate', __('Tax Rate *')) !!}
{!! Form::number('tax_rate', 0, ['class'=>'form-control', 'step'=>'any', 'min'=>0, 'max'=>100, 'placeholder'=>__('Enter tax rate'), 'required']) !!}
{!! Form::label('in_stock', __('Number in Stock')) !!}
{!! Form::number('in_stock', null, ['class'=>'form-control', 'placeholder'=>__('Enter number in stock'), 'required']) !!}
{!! Form::label('qty_per_order', __('Maximum allowed Quantity per Order')) !!}
{!! Form::number('qty_per_order', null, ['class'=>'form-control', 'placeholder'=>__('Enter maximum allowed quantity per order'), 'required']) !!}
{!! Form::label('status', __('Status')) !!}
{!! Form::select('status', [0=>__('Inactive'), 1=>__('Active')], 1, ['class'=>'form-control selectpicker', 'data-style'=>'btn-default']) !!}
{!! Form::label('photo', __('Choose Thumbnail Image (1989px*1326px)'), ['class'=>'btn btn-default btn-file']) !!}
{!! Form::file('photo',['class'=>'form-control', 'required', 'style'=>'display: none;','onchange'=>'$("#upload-file-info").html(files[0].name)']) !!}
@lang('No image chosen')
{!! Form::label('template_photo', __('Choose Template Image'), ['class'=>'btn btn-default btn-file']) !!}
{!! Form::file('template_photo',['class'=>'form-control', 'style'=>'display: none;','onchange'=>'$("#upload-file-info1").html(files[0].name)']) !!}
@lang('No image chosen')
{!! Form::label('photos[]', __('Choose More Images (1989px*1326px)'), ['class'=>'btn btn-default btn-file']) !!}
{!! Form::file('photos[]',['class'=>'form-control', 'multiple', 'style'=>'display: none;','onchange'=>'$("#upload-files-info").html(moreImagesNames(files))']) !!}
@lang('No image chosen')
(@lang('Hold Ctrl to select multiple images'))
@include('partials.manage.meta-fields')