@extends('admin.layouts.app', ['title' => __('Product')]) @section('content')
| 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 |
| Sub Category | @foreach($product->categories as $category) @if($category->parent_id !== null && $category->level == 2) {{ $category->name }}@if(!$loop->last),@endif @endif @endforeach |
| Type | @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))
@endif
@endforeach
|
| Length (inch) | {{$product->length }} |
| Width (inch) | {{$product->width }} |
| Height (inch) | {{$product->height }} |
| Weight (ml) | {{$product->weight }} |