@if (optional($form)->id) {{ __('common.edit') }} - {{ optional($form)->product_name }} @else {{ __('common.create') }} @endif
reply_all
{{ __('common.go_back') }}
@csrf
@if (optional($form)->id) @method('PUT') @else @method('POST') @endif @if (optional($form)->id)
@else
@endif
{{ __('common.product_information') }}
{{--
is_featured ?? '' === 'Yes') checked @endif class="vh" name="is_featured" value="Y">
{{ __('common.featured_product') }}
--}}
{{ __('auth.register.labels.name') }}
@include('includes.invalid', ['field' => 'product_name'])
{{ __('common.stock') }}
@foreach ($options['stock'] as $key => $name)
stock ?? '') === $name ? 'selected' : '' }}> {{ __($name) }}
@endforeach
@include('includes.invalid', ['field' => 'stock'])
{{ __('common.status') }}
@foreach ($options['status'] as $key => $name)
status ?? '') === $name ? 'selected' : '' }}> {{ __($name) }}
@endforeach
@include('includes.invalid', ['field' => 'status'])
Select {{ __('common.vendor') }}
@foreach ($vendor as $data)
user_id ?? '') === $data->user_id ? 'selected' : '' }}> {{ __($data->business_name) }}
@endforeach
@include('includes.invalid', ['field' => 'vendor'])
Select {{ __('common.currency') }}
@foreach ($currency as $data)
currency ?? '') === $data->id ? 'selected' : '' }}> {{ __($data->title) }}
@endforeach
@include('includes.invalid', ['field' => 'currency'])
{{ __('common.brand') }}
@foreach ($options['brand'] as $key => $name)
brand ?? '') === $name ? 'selected' : '' }}> {{ __($name) }}
@endforeach
@include('includes.invalid', ['field' => 'status'])
{{ __('common.category') }}
Select Category
@foreach ($options['pcategory'] as $key => $code)
parent_cat_id ?? '') === $code->id ? 'selected' : '' }}> {{ $code->name }}
@endforeach
@include('includes.invalid', ['field' => 'parent_cat_id'])
{{ __('common.sub_category1') }}
Select SubCategory I
@if (isset($subCategory[0]->category[0]['name']))
{{ $subCategory[0]->category[0]['name'] }}
@endif
{{ __('common.sub_category2') }}
Select SubCategory II
@if (isset($subCategory[1]->category[0]['name']))
{{ $subCategory[1]->category[0]['name'] }}
@endif
{{ __('common.sub_category3') }}
Select SubCategory III
@if (isset($subCategory[2]->category[0]['name']))
{{ $subCategory[2]->category[0]['name'] }}
@endif
{{ __('common.units') }}
KG
GM
{{--
--}} @include('includes.invalid', ['field' => 'units'])
{{ __('common.hsn_code') }}
@foreach ($options['hsncodes'] as $key => $name)
hsn_code ?? '') === $name['code'] ? 'selected' : '' }}> {{ __($name['code']) .'-'. $name['desc']}}
@endforeach
{{--
--}} @include('includes.invalid', ['field' => 'units'])
{{ __('common.weight') }}
@include('includes.invalid', ['field' => 'weight'])
{{--
{{ __('common.hsn_code') }}
@include('includes.invalid', ['field' => 'hsn_code'])
--}}
{{ __('common.sku_no') }}
@include('includes.invalid', ['field' => 'sku_no'])
Note* Used for packing and delivery cost calculation
{{--
{{ __('Volumetric Units') }}
--}}
{{ __('Volumetric Units') }}
CM
Inches
{{--
--}} @include('includes.invalid', ['field' => 'dimension_units'])
{{--
{{ __('common.length') }}
--}}
{{ __('common.length') }}
@include('includes.invalid', ['field' => 'length'])
{{--
{{ __('common.width') }}
--}}
{{ __('common.width') }}
@include('includes.invalid', ['field' => 'width'])
{{--
{{ __('common.height') }}
--}}
{{ __('common.height') }}
@include('includes.invalid', ['field' => 'height'])
{{ __('common.sort_description') }}
@include('includes.invalid', ['field' => 'short_desc'])
{{ __('common.qty') }}
@include('includes.invalid', ['field' => 'qty'])
{{-- Copy From Here --}}
{{ __('common.product_price') }}
@include('includes.invalid', ['field' => 'price'])
@php $commission =$formRaw?->product_commission ?? 0; $x =$formRaw?->offer_price ?? 0; $y = $x*$commission/100; $z =$x + $y; @endphp
{{ __('common.product_offer_price') }}
{{-- " :Customer Cost: "{{ $z ?? 0}}":Admin Fee:"{{ $y ?? 0 }}" --}}
@include('includes.invalid', ['field' => 'offer_price'])
{{ __('common.product_commission') }}
@include('includes.invalid', ['field' => 'product_commission'])
{{ __('common.gst') }}
@include('includes.invalid', ['field' => 'gst'])
{{-- @php $commission = App\Helpers\Helper::getConfig('COMMISSION'); if(isset($form->offer_price)){ $total = 100 + (int)$commission; $netprice = $form->offer_price/$total*100; } @endphp --}}
{{ __('common.product_return') }}
@include('includes.invalid', ['field' => 'product_return_period'])
Key Words
@include('includes.invalid', ['field' => 'tags'])
{{ __('common.long_desc') }}
{!! old('long_desc', $form->long_desc ?? '') !!}
{!! old('long_desc', $form->long_desc ?? '') !!}
@include('includes.invalid', ['field' => 'long_desc'])
backup
{{ __('common.product_image') }}
@include('includes.invalid', ['field' => 'cover_image'])
{{ __('common.recommended_size') }}: 1000 * 1500 Px
{{--
backup
{{ __('common.product_video') }}
@include('includes.invalid', ['field'=>'cover_video'])
--}} {{--
picture_as_pdf
{{ __('common.catalog') }}
@include('includes.invalid', ['field'=>'catalog'])
--}} {{--
--}} @if(!empty($form->cover_image))
×
@endif {{--
@if ($form) @if ($form->cover_video)
@endif @endif
--}} {{--
@if ($form) @if ($form->catalog)
picture_as_pdf
@endif @endif
--}} {{--
Add Product Images
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}}
@isset($form)
{{--
--}} {{--
--}} {{-- {{ __('common.product_images') }} --}} {{--
--}} {{--
--}}
{{-- @foreach ($form->productImages as $image) --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- @endforeach --}}
@endisset
{{ __('common.size_chart') }}
Size Chart
{{--
--}} @include('includes.invalid', ['field' => 'image'])
@if(!empty($chart?->image))
×
@endif
How to measure
@if(!empty($measure->image))
×
@endif {{--
--}} @include('includes.invalid', ['field' => 'image'])
{{-- end --}}
{{ __('common.product_multipal_image') }}
@include('includes.invalid', ['field' => 'image'])
{{ __('common.recommended_size') }}: 1000 * 1500 Px
@if (!empty($form->productImages)) @foreach ($form->productImages as $image)
×
@endforeach @endif
{{-- Select product FTT --}}
{{ __('common.is_featured') }}
@foreach ($options['topstatus'] as $key => $name)
is_featured ?? '') === $name ? 'selected' : '' }}> {{ __($name) }}
@endforeach
@include('includes.invalid', ['field' => 'is_featured'])
{{ __('common.is_top') }}
@foreach ($options['topstatus'] as $key => $name)
is_top ?? '') === $name ? 'selected' : '' }}> {{ __($name) }}
@endforeach
@include('includes.invalid', ['field' => 'is_top'])
{{ __('common.is_trending') }}
@foreach ($options['topstatus'] as $key => $name)
is_trending ?? '') === $name ? 'selected' : '' }}> {{ __($name) }}
@endforeach
@include('includes.invalid', ['field' => 'is_trending'])
{{-- End product FTT --}} {{-- Product entry in Hindi --}}
{{ __('common.product_information_hindi') }}
{{ __('auth.register.labels.name') }}
@include('includes.invalid', ['field' => 'product_name_hi'])
{{ __('common.sort_description') }}
@include('includes.invalid', ['field' => 'short_desc_hi'])
{{ __('common.long_desc') }}
{!! old('long_desc_hi', $form->long_desc_hi ?? '') !!}
{!! old('long_desc_hi', $form->long_desc_hi ?? '') !!}
@include('includes.invalid', ['field' => 'long_desc_hi'])
{{-- End Product entry in Hindi --}} {{-- Start product entry Kannad --}}
{{ __('common.product_information_kan') }}
{{ __('auth.register.labels.name') }}
@include('includes.invalid', ['field' => 'product_name_kan'])
{{ __('common.sort_description') }}
@include('includes.invalid', ['field' => 'short_desc_kan'])
{{ __('common.long_desc') }}
{!! old('long_desc_kan', $form->long_desc_kan ?? '') !!}
{!! old('long_desc_kan', $form->long_desc_kan ?? '') !!}
@include('includes.invalid', ['field' => 'long_desc_kan'])
{{-- End product entry Kannad --}} {{-- Start product entry Tamil --}}
{{ __('common.product_information_tam') }}
{{ __('auth.register.labels.name') }}
@include('includes.invalid', ['field' => 'product_name_tam'])
{{ __('common.sort_description') }}
@include('includes.invalid', ['field' => 'short_desc_tam'])
{{ __('common.long_desc') }}
{!! old('long_desc_tam', $form->long_desc_tam ?? '') !!}
{!! old('long_desc_tam', $form->long_desc_tam ?? '') !!}
@include('includes.invalid', ['field' => 'long_desc_tam'])
{{-- End product entry Tamil --}} {{-- Start product entry Telgu --}}
{{ __('common.product_information_tel') }}
{{ __('auth.register.labels.name') }}
@include('includes.invalid', ['field' => 'product_name_tel'])
{{ __('common.sort_description') }}
@include('includes.invalid', ['field' => 'short_desc_tel'])
{{ __('common.long_desc') }}
{!! old('long_desc_tel', $form->long_desc_tel ?? '') !!}
{!! old('long_desc_tel', $form->long_desc_tel ?? '') !!}
@include('includes.invalid', ['field' => 'long_desc_tel'])
{{-- End product entry Telgu --}} {{-- Options fields --}} {{-- Options fields --}}
{{ __('common.product_attributes') }}
@php $loop_count_num = 1; if($optioncount > 0){ $loop_count_num = $optioncount; }else{ $loop_count_num=1; } @endphp {{-- @foreach ($productAttrArr as $key => $val) --}} {{-- @php $loop_count_prev=$loop_count_num; $pAArr=(array)$val; @endphp --}}
{{ __('common.select_option') }}
{{ __('common.select_option') }}
@foreach ($options['optionsitem'] as $key => $code)
attributes ?? '') === $code->id ? 'selected' : '' }}> {{ $code->attributes }}
@endforeach
{{ __('common.select_option_value') }}
{{ __('common.select_option_value') }}
@include('includes.invalid', ['field' => 'values'])
{{ __('Image') }}
{{ __('Stock') }}
{{ __('common.orignal_price') }}
{{--
Offer Price
--}}
@if ($loop_count_num >= 2)
Add
@else
Remove
@endif
{{-- @endforeach --}}
@if (!@empty($productoption)) @php $i = 0; @endphp @foreach ($productoption as $data)
@php $loop_count_num=1; @endphp {{-- @foreach ($productAttrArr as $key => $val) --}} {{-- @php $loop_count_prev=$loop_count_num; $pAArr=(array)$val; @endphp --}}
{{ __('common.select_option') }}
{{ $data->attributes }}
@foreach ($options['optionsitem'] as $key => $code)
attributes ?? '') === $code->id ? 'selected' : '' }}> {{ $code->attributes }}
@endforeach
{{ __('common.select_option_value') }}
{{ $data->values }}
@foreach ($options['optionstype'] as $key => $code)
values ?? '') === $code->attributes_id ? 'selected' : '' }}> {{ $code->values }}
@endforeach
{{ __('Image') }}
{{ __('Image') }}
{{ __('Stock') }}
@php $commission =$formRaw?->product_commission ?? 0; $x = (int)$data->price; $y = $x * $commission/100; $z =(int)$x + (int)$y; @endphp
{{ __('common.orignal_price') }}
Customer Cost: {{ $z ?? 0}} :Admin Fee: {{ $y ?? 0 }}
{{--
{{ __('common.orignal_price') }}
--}}
{{--
{{ __('common.product_offer_price') }}
--}}
{{-- @if ($loop_count_num == 2) --}} {{--
--}} {{-- Add
--}} {{-- @else --}}
Remove
{{-- @endif --}}
{{-- @endforeach --}}
@php $i++ @endphp @endforeach @endempty
{{-- @dd(old('option_name_cp')); --}} {{-- Product option Starts Here --}} {{-- @dd($product_option_items) --}}
@if(count(old('option_name_cp' ,$product_option_items ?? []) ?? [])> 0) @php $key = 0; // dd(count($product_option_items)) @endphp @foreach(old('option_name_cp' ,$product_option_items['option_name_cp'] ?? []) as $value) {{-- @dd($product_option_items['option_name_cp']) --}}
{{ __('common.product_options') }}
add_circle
{{ __('common.view_options') }}
{{ __('common.option_name_cp') }}
@include('includes.invalid', ['field' => 'option_name_cp'])
{{ __('common.regular_price_cp') }}
@include('includes.invalid', ['field' => 'regular_price_cp'])
{{ __('common.platform_price_cp') }}
@include('includes.invalid', ['field' => 'platform_price_cp'])
{{ __('common.discount_cp') }}
@include('includes.invalid', ['field' => 'discount_cp'])
{{ __('common.customer_pays_cp') }}
@include('includes.invalid', ['field' => 'customer_pays_cp'])
You Gets
@include('includes.invalid', ['field' => 'you_get_cp'])
Groupon Gets
@include('includes.invalid', ['field' => 'platform_get_cp'])
{{ __('common.monthly_vouchers_cp') }}
@include('includes.invalid', ['field' => 'monthly_vouchers_cp'])
@php $key = $key+1; @endphp @endforeach @else
{{ __('common.product_options') }}
add_circle
{{ __('common.view_options') }}
{{ __('common.option_name_cp') }}
@include('includes.invalid', ['field' => 'option_name_cp'])
{{ __('common.regular_price_cp') }}
@include('includes.invalid', ['field' => 'regular_price_cp'])
{{ __('common.platform_price_cp') }}
@include('includes.invalid', ['field' => 'platform_price_cp'])
{{ __('common.discount_cp') }}
@include('includes.invalid', ['field' => 'discount_cp'])
{{ __('common.customer_pays_cp') }}
@include('includes.invalid', ['field' => 'customer_pays_cp'])
You Get
@include('includes.invalid', ['field' => 'you_get_cp'])
Groupon Gets
@include('includes.invalid', ['field' => 'platform_get_cp'])
{{ __('common.monthly_vouchers_cp') }}
@include('includes.invalid', ['field' => 'monthly_vouchers_cp'])
@endif
{{-- Product option Ends Here --}}
{{-- Product Option Modal --}}
{{__('common.view_product_options')}}
All Fields Are Required
×
{{--
--}}
@include('includes.invalid', ['field' => 'option_name'])
{{--
--}}
Regular Price (MRP)
@include('includes.invalid', ['field' => 'regular_price'])
Groupon Price (Seller Cost)
@include('includes.invalid', ['field' => 'platform_price'])
Discount (MRP - Seller Cost)
@include('includes.invalid', ['field' => 'discount_price'])
Customer Pays
@include('includes.invalid', ['field' => 'customer_pays'])
@include('includes.invalid', ['field' => 'you_get'])
Groupon Gets
@include('includes.invalid', ['field' => 'platform_get'])
{{--
--}}
@include('includes.invalid', ['field' => 'monthly_voucher_limit'])
{{--
--}}
@push('head.start') @include('includes.plugins', ['name' => 'quilleditor-css']) @endpush @push('body.end') @include('includes.plugins', ['name' => 'quilleditor-js', 'field_name' => 'long_desc', 'library' => true]) @include('includes.plugins', [ 'name' => 'quilleditor-js', 'field_name' => 'long_desc_hi', 'library' => false, ]) @include('includes.plugins', [ 'name' => 'quilleditor-js', 'field_name' => 'long_desc_kan', 'library' => false, ]) @include('includes.plugins', [ 'name' => 'quilleditor-js', 'field_name' => 'long_desc_tam', 'library' => false, ]) @include('includes.plugins', [ 'name' => 'quilleditor-js', 'field_name' => 'long_desc_tel', 'library' => false, ]) @endpush