@extends('admin.layouts.main') @section('content')

Product Management

Add Product


{!! Form::open(['method' => 'POST', 'route' => ['product.store'], 'enctype'=>'multipart/form-data', 'id'=>'productAddForm']) !!}
@foreach($messageArr as $message) @if(session()->has($message))
{{ session()->get($message) }}
@endif @endforeach
Fields marked as (*) are Mandatory
{{ Form::label('category_id','Category *') }}
@if($errors->has('category_id')) {{ $errors->first('category_id') }} @endif
{{ Form::label('pro_name','Product Name *') }}
{{ Form::text('pro_name',null,['class'=>'form-control','placeholder'=>'Product name','autocomplete'=>'off'],old('pro_name'))}} @if($errors->has('pro_name')) {{ $errors->first('pro_name') }} @endif
{{ Form::label('short_description','Short description') }}
@if($errors->has('short_description')) {{ $errors->first('short_description') }} @endif
{{ Form::label('product_pdf','Product Document') }}
{{ Form::file('product_pdf', ['id'=>'product_pdf','class' => 'form-control'],old('product_pdf')) }} @if($errors->has('product_pdf')) {{ $errors->first('product_pdf') }} @endif
{{ Form::label('image','Product Image *') }} {{"Select image with less or equal 850 X 600 Dimension"}}
{{ Form::file('image', ['id'=>'productImage','class' => 'form-control'],old('product_image')) }} @if($errors->has('image')) {{ $errors->first('image') }} @endif
{{ Form::label('application','Application') }}
{{ Form::textarea('application',null,['class'=>'form-control','placeholder'=>'Enter Application','autocomplete'=>'off','id'=>'application'],old('application'))}} @if($errors->has('application')) {{ $errors->first('application') }} @endif
{{ Form::label('materials','Materials') }}
{{ Form::textarea('materials',null,['class'=>'form-control','placeholder'=>'Enter materials','autocomplete'=>'off','id'=>'materials'],old('materials'))}} @if($errors->has('materials')) {{ $errors->first('materials') }} @endif
{{ Form::label('specification','Specification') }}
{{ Form::textarea('specification',null,['class'=>'form-control','placeholder'=>'Enter Specification','autocomplete'=>'off','id'=>'specification'],old('specification'))}} @if($errors->has('specification')) {{ $errors->first('specification') }} @endif
{{ Form::label('operating_range','Operating Range') }}
{{ Form::textarea('operating_range',null,['class'=>'form-control','placeholder'=>'Enter Operating Range','autocomplete'=>'off','id'=>'operating_range'],old('operating_range'))}} @if($errors->has('operating_range')) {{ $errors->first('operating_range') }} @endif

SEO Details

{{ Form::label('meta_title',' Meta Title') }}
{{ Form::text('meta_title',null,['class'=>'form-control','placeholder'=>'Enter Meta Title','autocomplete'=>'off'],old('meta_title'))}} @if($errors->has('meta_title')) {{ $errors->first('meta_title') }} @endif
{{ Form::label('meta_tag',' Meta Tags') }}
{{ Form::text('meta_tag',null,['class'=>'form-control','placeholder'=>'Enter Meta Tags','autocomplete'=>'off','data-role'=>'tagsinput'],old('meta_tag'))}} @if($errors->has('meta_tag')) {{ $errors->first('meta_tag') }} @endif
{{ Form::label('meta_description',' Meta Description') }}
{{ Form::textarea('meta_description',null,['class'=>'form-control','placeholder'=>'Enter Description','autocomplete'=>'off','rows'=>4,'maxlength'=>150],old('meta_description'))}} @if($errors->has('meta_description')) {{ $errors->first('meta_description') }} @endif

Cancel
@stop @section('footer_script') {{ Html::script('admin_theme/pages_js/product.js') }} @stop