@extends('admin.layouts.app', ['title' => __('Product')]) @section('content')

{{ __('Show Product') }}

Name {{$product->name}}
Description {{$product->description}}
Shipping Detail {{$product->shipping_detail }}
Category @foreach($product->categories as $category) @if($category->parent_id == null) {{ $category->name }}@if(!$loop->last),@endif @endif @endforeach
Region @foreach($product->categories as $category) @if($category->parent_id !== null && $category->level == 2) {{ $category->name }}@if(!$loop->last),@endif @endif @endforeach
Grape @foreach($product->categories as $category) @if($category->parent_id !== null && $category->level == 3) {{ $category->name }}@if(!$loop->last),@endif @endif @endforeach
Tags @foreach($product->tags as $tag) {{ $tag->name }}@if(!$loop->last),@endif @endforeach
Image @foreach($product->productImages as $productImages) @if(!empty($productImages->filename) && \Illuminate\Support\Facades\Storage::exists($productImages->filename)) @else @endif @endforeach
{{ __('Product Sizes') }}
@foreach ($product->productVariants as $variant) @endforeach
Size Stock Retail Price Selling Price Length Width Height Weigth
@if($variant->size != ''){{$variant->size->name}}@endif {{$variant->stock}} {{$variant->retail_price}} {{$variant->selling_price}} {{$variant->length}} {{$variant->width}} {{$variant->height}} {{$variant->weight}}
@include('admin.layouts.footers.auth')
@endsection