Product View

Product Information

Product Name : {{ $product->product_name }}
Unit: @if ($product->unit_id) {{ $product->unit->actual_name }} @else N/A @endif
SKU : {{ $product->sku }}
Re-order Level : {{ $product->reorder_level }}
Allow Woocomerce Sync : @if ($product->allow_woocommerce_sync == '0') NO @else Yes @endif
Category : @foreach ($categories as $categorie) @if ($categorie->id == $product->category_id) {{ $categorie->category_name }} @else @endif @endforeach
Sub Category : @foreach ($sub_categories as $sub_category) {{ in_array($sub_category->id, $product_has_sub_categories) ? '' : ' ' }} {{ $sub_category->sub_category_name }} , @endforeach
Warranty Period Type : {{ $product->warranty_select }}
Warranty Period : {{ $product->warranty_period }}
Description : {{ $product->descrption }}
{{--
Dollar Rate :   1$ = Rs.{{ $setting->currency_rate }}
--}}
@if ($product->attribute_id == null)

Single Product

@can('show_reseller_price_only') @else @if(auth()->user()->hasRole('Admin')) @else @endif @endcan @can('show_reseller_price_only') @else @if(auth()->user()->hasRole('Admin')) @else @endif @endcan
Sku Current StockRe-Seller Price @if ($setting->select_currency_type == '1') (LKR) @else (USD) @endif Unit Cost @if ($setting->select_currency_type == '1') (LKR) @else (USD) @endif select_currency_type != '0') style="display: none" @endif> Unit Cost Convert to LKR Selling Price @if ($setting->select_currency_type == '1') (LKR) @else (USD) @endif Re-Seller @if ($setting->select_currency_type == '1') (LKR) @else (USD) @endif
{{ $product->sku }} {{ $totalStockQty ?? 0 }} select_currency_type != '0') style="display: none" @endif> {{ number_format($html, 2) }} {{ number_format($stock->second_price, 2) }}{{ number_format($stock->unit_cost, 2) }}{{ number_format($stock->unit_price, 2) }} {{ number_format($stock->second_price, 2) }}
@else

Variable Product

@can('show_reseller_price_only') @else @endcan @foreach ($all_products as $key => $child_product) @php ++$key; $attribute = App\Attribute::find($child_product->attribute_id); $total_qty = App\Stock::where('product_id', $child_product->stock->product_id)->sum('qty'); @endphp @can('show_reseller_price_only') @else @endcan @endforeach
Variation Variation Value Current StockRe-Selling Price @if ($setting->select_currency_type == '1') (LKR) @else (USD) @endif Unit Cost @if ($setting->select_currency_type == '1') (LKR) @else (USD) @endif select_currency_type != '0') style="display: none" @endif> Unit Cost Convert to LKR @if ($setting->select_currency_type == '1') (LKR) @else (USD) @endif Selling Price @if ($setting->select_currency_type == '1') (LKR) @else (USD) @endif Re-Selling Price @if ($setting->select_currency_type == '1') (LKR) @else (USD) @endif
{{ $attribute->attribute_name }} {{ $child_product->attribute_value }}
select_currency_type != '0') style="display: none" @endif>
@endif