@extends('front::layouts.seo-master') @section('seo') @if(isset($product_detail)) @php $breadcrumbs = [ ['name' => 'Products', 'url' => route('front.product-cat', $product_detail->categories->first()->slug ?? '')], ['name' => $product_detail->title, 'url' => null] ]; @endphp @endif @endsection @section('content')
@if($product_detail->imageUrl) {{ $product_detail->title }} - {{ $product_detail->brand?->title ?? 'Product' }} @endif

{{ $product_detail->title }}

@if($product_detail->brand)

Brand: {{ $product_detail->brand->title }}

@endif
${{ number_format($product_detail->price, 2) }} @if($product_detail->discount && $product_detail->discount > 0) ${{ number_format($product_detail->price + $product_detail->discount, 2) }} Save ${{ number_format($product_detail->discount, 2) }} @endif

Description

{!! $product_detail->description !!}

@if($product_detail->stock > 0) In Stock ({{ $product_detail->stock }} available) @else Out of Stock @endif
@if($product_detail->stock > 0)
@csrf
@endif

SKU: {{ $product_detail->sku }}

@if($product_detail->categories->isNotEmpty())

Category: @foreach($product_detail->categories as $category) {{ $category->title }} @if(!$loop->last), @endif @endforeach

@endif
{!! $product_detail->description !!}
SKU {{ $product_detail->sku }}
Brand {{ $product_detail->brand?->title ?? 'N/A' }}
Stock {{ $product_detail->stock }}
Status {{ ucfirst($product_detail->status) }}

Customer Reviews

No reviews yet. Be the first to review this product!

@endsection @push('styles') @endpush