{{-- Hero Section --}}
{{-- Background Image --}}
Article Background
{{-- Content --}}

{{ $pageTitle }}

{{ $pageDesc }}

{{-- Product Detail Section --}}
{{-- Product Image --}}
{{ $product->name }}
{{-- Product Info --}}
{{-- Categories (for perfume) --}} @if ($productType === 'perfume' && $product->categories->isNotEmpty())
@foreach ($product->categories as $category) {{ $category->name }} @endforeach
@endif {{-- Product Name --}}

{{ $product->name }}

{{-- Brand (for perfume) --}} @if ($productType === 'perfume' && $product->brand)
Brand: {{ $product->brand->name }}
@endif {{-- Concentration (for perfume) --}} @if ($productType === 'perfume' && isset($product->concentration))
Konsentrasi: {{ $product->concentration->label() }}
@endif {{-- Price --}}
Rp {{ formatCurrencyNumber($product->sale_price) }}
{{-- Notes (for perfume) --}} @if ($productType === 'perfume')
@if ($product->top_notes)
Top Notes: {{ $product->top_notes }}
@endif @if ($product->middle_notes)
Middle Notes: {{ $product->middle_notes }}
@endif @if ($product->base_notes)
Base Notes: {{ $product->base_notes }}
@endif
@endif {{-- Description --}} @if ($product->description)

Deskripsi

{!! $product->description !!}

@endif {{-- Stats --}}
{{ $product->views }}x dilihat
{{ formatDateLocalized($product->created_at) }}
{{-- Share Buttons --}}
Bagikan: {{-- WhatsApp --}} {{-- Facebook --}} {{-- X (Twitter) --}}
{{-- Related Products --}} @if (count($relatedProducts) > 0)

Produk Terkait

Produk lain yang mungkin Anda suka

@foreach ($relatedProducts as $related)
@if ($related['category'])
{{ $related['category'] }}
@endif

{{ $related['name'] }}

Rp {{ formatCurrencyNumber($related['price']) }}
@endforeach
@endif