@extends('backend.layouts.app') @section('title', $data['p_heading']) @section('content') {!! Form::model($data['product'], ['method' => 'PATCH', 'route' => ['admin.product.update.details', $data['product']->id]]) !!}
{{ $data['p_heading'] }}
Content
{!! Form::label('short_description', 'Short Description:') !!} {!! Form::textarea('short_description', null,['class'=>'form-control', 'placeholder'=>'Short description ...', 'rows'=>'3']) !!}
{!! Form::label('full_description', 'Full Description:') !!} {!! Form::textarea('full_description', null,['class'=>'form-control ckeditor', 'placeholder'=>'Full description ...', 'rows'=>'3']) !!}
{!! Form::label('pdf_link', 'Link PDF File:') !!} {!! Form::url('pdf_link', null,['class'=>'form-control', 'placeholder'=>'Copy/paste PDF link ...']) !!}
{!! Form::label('video_link', 'Link Video:') !!} {!! Form::url('video_link', null,['class'=>'form-control', 'placeholder'=>'Copy/paste Video link ...']) !!}
{!! Form::label('video_id', 'Attach Existing Video 1:') !!} {!! Form::select('video_id', $data['videos'], null, ['class'=>'form-control', 'placeholder' => 'Please Select Video to Attach ...']) !!}
{!! Form::label('video_id2', 'Attach Existing Video 2:') !!} {!! Form::select('video_id2', $data['videos'], null, ['class'=>'form-control', 'placeholder' => 'Please Select Video to Attach ...']) !!}
{!! Form::label('video_id3', 'Attach Existing Video 3:') !!} {!! Form::select('video_id3', $data['videos'], null, ['class'=>'form-control', 'placeholder' => 'Please Select Video to Attach ...']) !!}
{!! Form::label('faq_set_id', 'Select FAQs:') !!} {!! Form::select('faq_set_id', $data['sets'], null,['class'=>'form-control', 'placeholder'=>'Select FAQs ...']) !!}
@if($data['product']->type == 'simple')
@foreach(\App\Models\Product::$additional_info as $key => $value)
{!! Form::label('additional_info_'.$key, $value.':') !!} {!! Form::select('additional_info', $data['additional_info'][$key], $data['additional_information'][$key], ['name'=>'additional_info['. $key .']', 'id' => 'additional_info_'.$key,'class'=>'form-control select_info']) !!}
@endforeach
{!! Form::label('price_catalog', 'Price:') !!} {!! Form::text('price_catalog', null,['class'=>'form-control', 'placeholder'=>'Enter price ...']) !!}
{!! Form::label('price_discounted', 'Special Price:') !!} {!! Form::text('price_discounted', null,['class'=>'form-control', 'placeholder'=>'Enter special price ...']) !!}
{!! Form::label('price_discounted_start', 'Special Price Start Date:') !!} {!! Form::date('price_discounted_start', null,['class'=>'form-control', 'placeholder'=>'Enter special price start date ...']) !!}
{!! Form::label('price_discounted_end', 'Special Price End Date:') !!} {!! Form::date('price_discounted_end', null,['class'=>'form-control', 'placeholder'=>'Enter special price end date ...']) !!}
@endif
{!! Form::label('meta_title', 'Meta Title:') !!} {!! Form::text('meta_title', null,['class'=>'form-control', 'placeholder'=>'Meta Title ...']) !!}
{!! Form::label('meta_keywords', 'Meta Keywords:') !!} {!! Form::textarea('meta_keywords', null,['class'=>'form-control', 'placeholder'=>'Meta Keywords ...', 'rows'=>'3']) !!}
{!! Form::label('meta_description', 'Meta Description:') !!} {!! Form::textarea('meta_description', null,['class'=>'form-control', 'placeholder'=>'Meta Description ...', 'rows'=>'3']) !!}
@if($data['product']->type == 'simple')
{!! Form::label('', 'In Stock:') !!}
{!! Form::label('', 'Check Quantity:') !!}
{!! Form::label('quantity', 'Available Quantity:') !!} {!! Form::number('quantity', null,['class'=>'form-control', 'placeholder'=>'Enter available quantity ...']) !!}
{!! Form::label('', 'Shipping Type:') !!}
{!! Form::label('weight', 'Weight:') !!} {!! Form::text('weight', null,['class'=>'form-control', 'placeholder'=>'Item weight ...']) !!}
{!! Form::label('', 'Taxable Item:') !!}
{!! Form::label('related_products', 'Related Products') !!} {!! Form::select('related_products', $data['products'], null, ['multiple'=>'multiple','name'=>'related_products[]','class'=>'form-control select2']) !!}
{!! Form::label('upsell_products', 'Upsell Products') !!} {!! Form::select('upsell_products', $data['products'], null, ['multiple'=>'multiple','name'=>'upsell_products[]','class'=>'form-control select2']) !!}
{!! Form::label('cross_sell_products', 'Cross Sell Products') !!} {!! Form::select('cross_sell_products', $data['products'], null, ['multiple'=>'multiple','name'=>'cross_sell_products[]','class'=>'form-control select2']) !!}
@endif
{!! Form::label('family', 'Family:') !!} {!! Form::select('family', $data['families'], null, ['class' => 'form-control', 'placeholder' => 'Please Select ...']) !!}
{!! Form::label('material', 'Primary Material:') !!} {!! Form::select('material', $data['materials'], null, ['class' => 'form-control', 'placeholder' => 'Please Select ...']) !!}
{!! Form::label('material_secondary', 'Secondary Material:') !!} {!! Form::select('material_secondary', $data['materials'], null, ['class' => 'form-control', 'placeholder' => 'Please Select ...']) !!}
{!! Form::label('', 'Color Instrument(s):') !!}
 
{!! Form::label('tags', 'Search Tags:') !!} {!! Form::select('tags', $data['tags'], null, ['multiple'=>'multiple','name'=>'tags[]','class'=>'form-control select_tags']) !!}
{!! Form::label('competitor_skus', 'Competitor SKUs:') !!} {!! Form::select('competitor_skus', $data['competitor_skus'], null, ['multiple'=>'multiple','name'=>'competitor_skus[]','class'=>'form-control select_tags']) !!}
{!! Form::label('visibility', 'Visibility:') !!} {!! Form::select('visibility', \App\Models\Product::$visibility, null, ['class'=>'form-control']) !!}
{!! Form::label('', 'Featured Product:') !!}
{!! Form::label('', 'Hot Product:') !!}
{!! Form::label('', 'New Product:') !!}
{!! Form::label('', 'Engravable Item:') !!}
{!! Form::label('', 'Engraving Charges:') !!}
{!! Form::text('engraving_price', null,['class'=>'form-control', 'placeholder'=>'Engraving Price ...']) !!}
{!! Form::label('position', 'Position:') !!} {!! Form::number('position', null,['class'=>'form-control', 'placeholder'=>'Display position ...']) !!}
{!! Form::label('banner_id', 'Banner:') !!} {!! Form::select('banner_id', $data['banners'], null, ['class' => 'form-control', 'placeholder' => 'Please Select ...']) !!}
{!! Form::label('', 'Status:') !!}
{!! Form::hidden('step', '2') !!} {!! Form::hidden('type', $data['product']->type) !!} Basic Info Manage Images / Files @if($data['product']->type == 'variation') Manage Variations @endif @if($data['product']->is_set == 'Y') Set Items @endif
{!! Form::close() !!} @stop