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

{{ $product->name }}

Detail informasi produk

Informasi Dasar

Nama Produk
{{ $product->name }}
Slug
{{ $product->slug }}
Kategori
{{ $product->category->name }}
Brand
{{ $product->brand ?: '-' }}
SKU
{{ $product->sku }}
Status
@if($product->is_active) Aktif @else Tidak Aktif @endif @if($product->is_featured) Unggulan @endif
Dibuat
{{ $product->created_at->format('d M Y H:i') }}
Diperbarui
{{ $product->updated_at->format('d M Y H:i') }}
@if($product->short_description || $product->description)

Deskripsi

@if($product->short_description)

Deskripsi Singkat:

{{ $product->short_description }}

@endif @if($product->description)

Deskripsi Lengkap:

{!! nl2br(e($product->description)) !!}
@endif
@endif @if($product->specifications)

Spesifikasi

@foreach($product->specifications as $spec)
{{ $spec['key'] ?? 'N/A' }}
{{ $spec['value'] ?? 'N/A' }}
@endforeach
@endif @if($product->marketplace_links)

Link Marketplace

@if($product->shopee_url) Beli di Shopee @endif @if($product->tokopedia_url) Beli di Tokopedia @endif @if($product->bukalapak_url) Beli di Bukalapak @endif @if($product->lazada_url) Beli di Lazada @endif @if($product->blibli_url) Beli di Blibli @endif
@endif @if($product->meta_title || $product->meta_description)

Informasi SEO

@if($product->meta_title)

Meta Title:

{{ $product->meta_title }}

@endif @if($product->meta_description)

Meta Description:

{{ $product->meta_description }}

@endif
@endif

Harga & Stok

Harga Normal
{{ $product->formatted_price }}
@if($product->discount_price)
Harga Final
{{ $product->formatted_final_price }}
Diskon
{{ number_format($product->discount_percentage, 1) }}%
@endif
Stok
{{ $product->stock }}
Status Stok
{{ $product->stock_status }}
Views
{{ number_format($product->views) }}
Terjual
{{ number_format($product->sales_count) }}
@if($product->featured_image)

Gambar Utama

{{ $product->name }}
@endif @if($product->gallery && count($product->gallery) > 0)

Galeri ({{ count($product->gallery) }})

@foreach($product->gallery_urls as $image) @endforeach
@endif

Aksi

Edit Produk Lihat di Frontend @if($product->is_active)
@csrf @method('PUT')
@else
@csrf @method('PUT')
@endif
@csrf @method('DELETE')
@endsection