@extends('layouts.app') @section('content')
{{-- Breadcrumb --}}
{{-- Product Images --}}
{{ $product->name }}
@if($product->images->count() > 0)
@foreach($product->images as $image) @endforeach
@endif
{{-- Product Info --}}
{{-- Category & Title --}} {{ $product->category->name }}

{{ $product->name }}

{{-- Rating --}}
@for($i = 1; $i <= 5; $i++) @endfor
({{ $product->reviews->count() }} reviews) @if($product->is_in_stock) In Stock @else Out of Stock @endif
{{-- Price --}}
@if($product->sale_price) ৳{{ number_format($product->sale_price, 2) }} ৳{{ number_format($product->price, 2) }} Save {{ $product->discount_percent }}% @else ৳{{ number_format($product->price, 2) }} @endif
{{-- Short Description --}}

{{ $product->short_description }}

{{-- Specifications --}}
SKU: {{ $product->sku }}
Brand: {{ $product->brand }}
Age: {{ $product->age_recommendation }}
@if($product->weight)
Weight: {{ $product->weight }} kg
@endif
{{-- Add to Cart Form --}}
@csrf {{-- Quantity + Add to Cart Row --}}
{{-- Quantity Stepper --}}
{{-- Add to Cart Button --}} {{-- Wishlist --}} @auth @endauth
{{-- Buy Now + WhatsApp Row --}}
{{-- Buy Now --}} {{-- WhatsApp --}} @php $whatsappMessage = urlencode("Hi, I want to order: " . $product->name . " - " . route('product.show', $product->slug)); $whatsappNumber = \App\Models\Setting::get('whatsapp_number', '+8801700000000'); @endphp Order on WhatsApp
{{-- Trust Badges --}}
Secure Payment
Fast Delivery
{{-- Tabs Section --}}

Product Description

{!! nl2br(e($product->description)) !!}

@if($product->features)

Features & Benefits

{!! nl2br(e($product->features)) !!}

@endif
{{-- Related Products --}} @if($related->count() > 0)

You May Also Like

@foreach($related as $product) @include('components.product-card', ['product' => $product]) @endforeach
@endif
@endsection