{{Session('message')}}
Entry
- Basic Settings
- Advanced Settings
- has('tree_id')) style="border-color: #dd4b39;" @endif>Category
- Images
- Videos
- SEO
- Other
- Points
- Color
- Discounted
{{--Basic Settings--}}
{{--Advanced Settings--}}
{{--Product Category--}}
{{--Product Images--}}
{{--Product SEO--}}
{{--Other--}}
{{--Points Settings--}}
{{--Color Settings--}}
{{--Discounted Settings--}}
{!! Form::label('Item Type') !!}
{!! Form::select('item_type_id', $item_types, null, ['class' => 'form-control item_type_select2', 'placeholder' => 'Select Item Type', 'id' => 'item_type_select2']) !!}
@if ($errors->has('item_type_id'))
{!! $errors->first('item_type_id') !!}
@endif
{!! Form::label('Sub Item Type') !!}
{!! Form::select('sub_item_type_id', [ 0 => 'Select Sub Item Type'], null, ['class' => 'form-control sub_item_type_select2', 'id' => 'sub_item_type_select2']) !!}
@if ($errors->has('sub_item_type'))
{!! $errors->first('item_type') !!}@endif
{!! Form::label('Brand') !!}
{!! Form::select('brand_id', $brands, null, ['class' => 'form-control brand_select2', 'placeholder' => 'Select Brand', 'id' => 'brand_select2']) !!}
@if ($errors->has('brand_id'))
{!! $errors->first('brand_id') !!}@endif
{!! Form::label('Head') !!}
{!! Form::text('product_head', null, ['class' => 'form-control', 'placeholder' => 'Head', 'id' => 'product_head']) !!}
@if ($errors->has('product_head'))
{!! $errors->first('product_head') !!}@endif
{!! Form::label('Name') !!}
{!! Form::text('product_name', null, ['class' => 'form-control', 'placeholder' => 'Name', 'id' => 'product_name']) !!}
@if ($errors->has('product_name'))
{!! $errors->first('product_name') !!}@endif
{!! Form::label('Slug (Don`t use any &, ( , ), ? /, +, #, $ symbols)') !!}
{!! Form::text('product_slug', null, ['class' => 'form-control', 'placeholder' => 'Slug', 'id' => 'product_slug']) !!}
@if ($errors->has('product_slug'))
{!! $errors->first('product_slug') !!}@endif
{{--
{!! Form::label('Discounted Slug Message') !!}
{!! Form::text('discounted_product_msg', '1 Discounted unit available, call 16810 for details.' , ['class' => 'form-control', 'placeholder' => 'Discounted Slug Msg' ,'id' => 'discounted_product_msg']) !!}
--}}
{!! Form::label('INV Code') !!}
{!! Form::text('product_code_inv', null, ['class' => 'form-control', 'id' => 'product_code_inv', 'placeholder' => 'INV Code']) !!}
@if ($errors->has('product_code_inv'))
{!! $errors->first('product_code_inv') !!}@endif
{!! Form::label('Destop Builder Segment') !!}
{!! Form::select('desktop_b_type_ids[]', $desktop_b_types, null, ['class' => 'form-control desktop_b_type_select2', 'id' => 'desktop_b_type_select2', 'multiple' => 'multiple']) !!}
{!! Form::label('Short Description') !!}
{!! Form::textarea('product_short_description', null, ['class' => 'form-control', 'rows' => '3', 'placeholder' => 'Short Description']) !!}
@if ($errors->has('product_short_description'))
{!! $errors->first('product_short_description') !!}@endif
{!! Form::label('Long Description') !!}
{!! Form::textarea('product_long_description', null, ['class' => 'form-control', 'rows' => '8','placeholder' => 'Long Description', 'id' => 'product_long_description']) !!}
@if ($errors->has('product_long_description'))
{!! $errors->first('product_long_description') !!}@endif
{!! Form::label('Regular Price') !!}
{!! Form::text('product_price1', null, ['class' => 'form-control', 'placeholder' => 'Regular Price', 'id' => 'regular_price']) !!}
@if ($errors->has('product_price1'))
{!! $errors->first('product_price1') !!}@endif
{!! Form::label('Special Price') !!}
{!! Form::text('product_price2', null, ['class' => 'form-control', 'placeholder' => 'Special Price', 'id' => 'special_price']) !!}
@if ($errors->has('product_price2'))
{!! $errors->first('product_price2') !!}@endif
{!! Form::label($specialDiscountLabel) !!}
{!! Form::text('special_discount', 0, ['class' => 'form-control', 'id' => 'ecom_discount_price', 'placeholder' => $specialDiscountLabel]) !!}
@if ($errors->has('special_discount'))
{!! $errors->first('special_discount') !!}
@endif
{{-- --}}
{{-- {!! Form::label('Price Three') !!}--}}
{{-- {!! Form::text('product_price3', null, ['class' => 'form-control', 'placeholder' => 'Price Three']) !!}--}}
{{-- @if ($errors->has('product_price3'))--}}
{{-- {!! $errors->first('product_price3') !!}@endif--}}
{{--
--}}
{{-- --}}
{{-- {!! Form::label('Price Four') !!}--}}
{{-- {!! Form::text('product_price4', null, ['class' => 'form-control', 'placeholder' => 'Price Four']) !!}--}}
{{-- @if ($errors->has('product_price4'))--}}
{{-- {!! $errors->first('product_price4') !!}@endif--}}
{{--
--}}
{!! Form::label('Expected delivery days') !!}
{!! Form::select('expected_delivery_time_days', $days, '', ['class' => 'form-control', 'id' => 'expected_delivery_time_days']) !!}
{!! Form::label('Expected delivery hours') !!}
{!! Form::select('expected_delivery_time_hours', $hours, '', ['class' => 'form-control', 'id' => 'expected_delivery_time_hours']) !!}
{!! Form::label('Home') !!}
{!! Form::select('product_is_home', [0 => 'No',1 => 'Yes'], null, ['class' => 'form-control']) !!}
{!! Form::label('Upcoming or General') !!}
{!! Form::select('product_is_upcoming', [0 => 'General',
1 => 'Upcoming', 2 => 'Out Of stock'
, 4 =>'Discounted',
7 => 'Coming Soon'
], null, ['class' => 'form-control', 'id' => 'product_is_upcoming', 'onchange' => "upcomingProducts();"]) !!}
{!! Form::label('Group') !!}
{!! Form::select('product_search_group', [3 => 'Default', 1 => 'A', 2 => 'B'], null, ['class' => 'form-control']) !!}
{!! Form::label('Date') !!}
{!! Form::date('product_upcoming_date', \Carbon\Carbon::now(), ['class' => 'form-control']) !!}
{!! Form::label('Time') !!}
{!! Form::time('product_upcoming_time', \Carbon\Carbon::now(), ['class' => 'form-control']) !!}
{!! Form::label('Details for upcoming products') !!}
{!! Form::textarea('product_upcoming_details', '', ['class' => 'form-control']) !!}
{!! Form::label('Status') !!}
{!! Form::select('product_is_exist', [1 => 'Active', 0 => 'Inactive'], null, ['class' => 'form-control', 'id' => 'product_is_exist']) !!}
{!! Form::label('Cross Price') !!}
{!! Form::text('cross_price', 0, ['class' => 'form-control', 'placeholder' => 'Cross Price', 'id' => 'cross_price']) !!}
{!! Form::label('Force disable From showing on list and search') !!}
{!! Form::select('force_disable', [1 => 'Disable', 0 => 'Not disabled'], 0, ['class' => 'form-control', 'id'=> 'force_disable']) !!}
{!! Form::label('Is discounted?') !!}
Please select item type first!
@if ($errors->has('tree_id'))
{!! $errors->first('tree_id') !!}@endif
@include('admin.category.treeview-create')
{{--Product Videos--}}
{!! Form::label('Video Title') !!}
{!! Form::text('product_video_title', null, ['class' => 'form-control', 'placeholder' => 'Enter Video Title']) !!}
@if ($errors->has('product_video_title'))
{!! $errors->first('product_video_title') !!}@endif
{!! Form::label('Video URL') !!}
{!! Form::text('product_video_url', null, ['class' => 'form-control', 'placeholder' => 'Enter Video Url']) !!}
@if ($errors->has('product_video_url'))
{!! $errors->first('product_video_url') !!}@endif
{{-- {!! Form::file('image[]', array('class' => 'image', 'id' => 'product_image', 'onchange' => 'readURL(this);')) !!} --}}
{!! Form::label('Meta Title') !!}
{!! Form::text('product_meta_title', null, ['class' => 'form-control', 'placeholder' => 'Enter Meta Title', 'id' => 'product_meta_title']) !!}
@if ($errors->has('product_meta_title'))
{!! $errors->first('product_meta_title') !!}@endif
{!! Form::label('Meta Keyword') !!}
{!! Form::textarea('product_meta_keyword', null, ['class' => 'form-control', 'placeholder' => 'Enter Meta Keyword']) !!}
@if ($errors->has('product_meta_keyword'))
{!! $errors->first('product_meta_keyword') !!}@endif
{!! Form::label('Meta Description') !!}
{!! Form::textarea('product_meta_description', null, ['class' => 'form-control', 'placeholder' => 'Enter Meta Description', 'id' => 'product_meta_description']) !!}
@if ($errors->has('product_meta_description'))
{!! $errors->first('product_meta_description') !!}@endif
{!! Form::label('Related Products') !!}
{{--{!! Form::select('related_products[]',$related_products, null, ['class' => 'form-control','id' => 'related_products' ,'multiple' => 'multiple']) !!}--}}
{!! Form::textarea('related_products', null, ['class' => 'form-control', 'placeholder' => 'Enter comma separated SKU']) !!}
@if ($errors->has('related_products'))
{!! $errors->first('related_products') !!}@endif
{!! Form::label('Similar Products') !!}
{{--{!! Form::select('related_products[]',$related_products, null, ['class' => 'form-control','id' => 'related_products' ,'multiple' => 'multiple']) !!}--}}
{!! Form::textarea('similar_products', null, ['class' => 'form-control', 'placeholder' => 'Enter comma separated SKU']) !!}
@if ($errors->has('similar_products'))
{!! $errors->first('similar_products') !!}@endif
{!! Form::label('Almost similar Products') !!}
{{--{!! Form::select('related_products[]',$related_products, null, ['class' => 'form-control','id' => 'related_products' ,'multiple' => 'multiple']) !!}--}}
{!! Form::textarea('group_products', null, ['class' => 'form-control', 'placeholder' => 'Enter comma separated SKU']) !!}
@if ($errors->has('group_products'))
{!! $errors->first('group_products') !!}@endif
{{--
{!! Form::label('Other Color Products') !!}
{!! Form::textarea('color_products', null, ['class' => 'form-control', 'placeholder' => 'Enter comma separated SKU']) !!}
@if ($errors->has('color_products'))
{!! $errors->first('color_products') !!}@endif
--}}
{!! Form::label('Shipping Charge') !!}
{!! Form::select('shipping_charge_id', $shipping_charge, null, ['class' => 'form-control brand_select2', 'placeholder' => 'Select Shipping Charge', 'id' => 'shipping_charge_id']) !!}
@if ($errors->has('shipping_charge_id'))
{!! $errors->first('shipping_charge_id') !!}@endif
{!! Form::label('Point') !!}
{!! Form::number('point', 0, ['class' => 'form-control', 'placeholder' => 'Point']) !!}
@if ($errors->has('point'))
{!! $errors->first('point') !!}@endif
{!! Form::label('Point Type') !!}
{!! Form::select('point_type', $pointTypes, 'fixed', ['class' => 'form-control', 'id' => 'pointType']) !!}
@if ($errors->has('point_type'))
{!! $errors->first('point_type') !!}@endif
{!! Form::label('Discounted Slug Message') !!}
{!! Form::text('discounted_product_msg', '' , ['class' => 'form-control', 'placeholder' => 'Discounted Slug Message' ,'id' => 'discounted_product_msg']) !!}
{!! Form::label('Discounted Product Details') !!}
{!! Form::textarea('discounted_product_details', null , ['class' => 'form-control', 'placeholder' => 'Discounted Product Details' ,'id' => 'discounted_product_details']) !!}
{!! Form::label('Discounted Product Images (Select Multiple)') !!}
{!! Form::submit('Create',['class' => 'btn btn-primary', 'id' => 'seo_submit_btn' , 'name'=> 'submit']) !!}
{!! Form::submit('Submit',['class' => 'btn btn-info', 'name'=> 'submit', 'id' => 'other_submit_btn']) !!}
Cancel
{!! Form::close() !!}