@extends('layouts.app') @section('content')
{{-- Fixed path to include 'storage/' --}} {{ $product->name }}
{{-- Product Details --}}

{{ $product->name }}

Category: {{ $product->category->name ?? 'General' }}

₹{{ number_format($product->price, 2) }}

Description

{{ $product->description }}

{{-- Action Buttons --}}
{{-- Add to Cart Button using your JS function --}} {{-- Wishlist Toggle --}}
@if ($relatedProducts->count() > 0)

Related Products

@endif
@endsection