{!! icon('product') !!} {{ Form::text('name', null, [ 'class' => 'form-control form-control-lg' . ($errors->has('name') ? ' is-invalid' : ''), 'placeholder' => __('Variant name') ]) }} @if ($errors->has('name'))
{{ $errors->first('name') }}
@endif

{!! icon('sku') !!} {{ Form::text('sku', null, [ 'class' => 'form-control' . ($errors->has('sku') ? ' is-invalid' : ''), 'placeholder' => __('SKU (product code)') ]) }}
@if ($errors->has('sku'))
{{ $errors->first('sku') }}
@endif
{!! icon('stock') !!} {{ Form::number('stock', null, [ 'class' => 'form-control' . ($errors->has('stock') ? ' is-invalid' : ''), 'placeholder' => __('Product Stock Count') ]) }}
@if ($errors->has('stock'))
{{ $errors->first('stock') }}
@endif
{{ Form::text('price', null, [ 'class' => 'form-control' . ($errors->has('price') ? ' is-invalid' : ''), 'placeholder' => __('Price') ]) }} {{ config('vanilo.foundation.currency.code') }}
@if ($errors->has('price'))
{{ $errors->first('price') }}
@endif
{{ Form::text('original_price', null, [ 'class' => 'form-control' . ($errors->has('original_price') ? ' is-invalid' : ''), 'placeholder' => __('Aka "strikethrough" price') ]) }} {{ config('vanilo.foundation.currency.code') }}
@if ($errors->has('original_price'))
{{ $errors->first('original_price') }}
@endif

{{ Form::textarea('description', null, [ 'class' => 'form-control' . ($errors->has('description') ? ' is-invalid' : ''), 'placeholder' => __('Type or copy/paste product description here') ] ) }} @if ($errors->has('description'))
{{ $errors->first('description') }}
@endif

{{ Form::textarea('excerpt', null, [ 'class' => 'form-control form-control-sm' . ($errors->has('excerpt') ? ' is-invalid' : ''), 'placeholder' => __('Short Description'), 'rows' => 4 ]) }} @if ($errors->has('excerpt'))
{{ $errors->first('excerpt') }}
@endif