@lang('product.sku'):
{{$product->sku }}
@lang('product.brand'):
{{$product->brand->name or '--' }}
@lang('product.unit'):
{{$product->unit->short_name or '--' }}
@lang('product.barcode_type'):
{{$product->barcode_type or '--' }}
@if(!empty($product->product_custom_field1))
@lang('lang_v1.product_custom_field1'):
{{$product->product_custom_field1 }}
@endif
@if(!empty($product->product_custom_field2))
@lang('lang_v1.product_custom_field2'):
{{$product->product_custom_field2 }}
@endif
@if(!empty($product->product_custom_field3))
@lang('lang_v1.product_custom_field3'):
{{$product->product_custom_field3 }}
@endif
@if(!empty($product->product_custom_field4))
@lang('lang_v1.product_custom_field4'):
{{$product->product_custom_field4 }}
@endif
@lang('product.category'):
{{$product->category->name or '--' }}
@lang('product.sub_category'):
{{$product->sub_category->name or '--' }}
@lang('product.manage_stock'):
@if($product->manage_stock)
@lang('messages.yes')
@else
@lang('messages.no')
@endif
@if($product->enable_stock)
@lang('product.alert_quantity'):
{{$product->alert_quantity or '--' }}
@endif
@lang('product.expires_in'):
@php
$expiry_array = ['months'=>__('product.months'), 'days'=>__('product.days'), '' =>__('product.not_applicable') ];
@endphp
@if(!empty($product->expiry_period) && !empty($product->expiry_period_type))
{{$product->expiry_period}} {{$expiry_array[$product->expiry_period_type]}}
@else
{{$expiry_array['']}}
@endif
@if($product->weight)
@lang('lang_v1.weight'):
{{$product->weight }}
@endif
@lang('product.applicable_tax'):
{{$product->product_tax->name or __('lang_v1.none') }}
@php
$tax_type = ['inclusive' => __('product.inclusive'), 'exclusive' => __('product.exclusive')];
@endphp
@lang('product.selling_price_tax_type'):
{{$tax_type[$product->tax_type] }}
@php
$product_type = ['single' => 'Single', 'variable' => 'Variable'];
@endphp
@lang('product.product_type'):
{{$product_type[$product->type] }}
@if(!empty($product->image))
@else
@endif
@if($rack_details->count())
@if(session('business.enable_racks') || session('business.enable_row') || session('business.enable_position'))
@lang('lang_v1.rack_details'):
@lang('business.location') |
@if(session('business.enable_racks'))
@lang('lang_v1.rack') |
@endif
@if(session('business.enable_row'))
@lang('lang_v1.row') |
@endif
@if(session('business.enable_position'))
@lang('lang_v1.position') |
@endif
@foreach($rack_details as $rd)
{{$rd->name}} |
@if(session('business.enable_racks'))
{{$rd->rack}} |
@endif
@if(session('business.enable_row'))
{{$rd->row}} |
@endif
@if(session('business.enable_position'))
{{$rd->position}} |
@endif
@endforeach
@endif
@endif
@if($product->type == 'single')
@include('product.partials.single_product_details')
@else
@include('product.partials.variable_product_details')
@endif