@extends('layouts.admin') @section('title', 'Detail Produk') @section('content_header')

Detail Produk

@stop @section('content')

{{ $product->name }}

@if ($product->icon)
{{ $product->name }}
@endif
@if ($product->image)
{{ $product->name }}
@endif

{{ $product->name }}

{{ $product->slug }}

@if ($product->short_description)

{{ $product->short_description }}

@endif @if ($product->productDetails->count() > 0)
Detail Produk
@foreach ($product->productDetails as $detail)
{{ $detail->title }}
@if ($detail->image) {{ $detail->title }} @endif @if ($detail->description)

{{ $detail->description }}

@endif
@endforeach
@else
Tidak ada detail produk
@endif

{{ $product->created_at->format('d M Y H:i') }}

{{ $product->updated_at->format('d M Y H:i') }}

@stop @section('css') @stop