@php $images = $product->image ?? []; if (!is_array($images)) { $images = json_decode($images, true) ?: []; } if (empty($images)) { $images = [null]; } $imageUrls = collect($images) ->map(function ($img) { return $img ? url(\Storage::url($img)) : asset('assets/images/sp1.png'); }) ->values(); @endphp
Vehicle Audio

{{ $product->name }}

Premium vehicle audio product from JS Speaker

4.8 (124 reviews)
Premium Vehicle Audio System

₹{{ number_format($product->selling_price, 0) }}

Inclusive of all applicable taxes
@if ($product->quantity > 0)
In Stock · {{ $product->quantity }} available
@else
Currently unavailable
@endif
Quantity
1

Product Information

Product Name {{ $product->name }}
Category {{ $product->category->name ?? 'N/A' }}
Availability {{ $product->quantity > 0 ? 'In Stock' : 'Out of Stock' }}
Available Quantity {{ $product->quantity }}
Product Status {{ $product->status ?? 'Active' }}

Product Description

{{ $product->description ?? 'Experience powerful and crystal-clear sound with the ' . $product->name . '. Designed for vehicle audio enthusiasts, this speaker delivers rich bass, clear mids and crisp highs. Built with premium materials, it ensures long lasting performance even in tough road conditions.' }}
@if ($relatedProducts && $relatedProducts->count() > 0)

{{ $relatedProducts->take(3)->count() }} Similar Products

@foreach ($relatedProducts->take(3) as $item) @php $relImages = $item->image ?? []; if (!is_array($relImages)) { $relImages = json_decode($relImages, true) ?: []; } $firstRelImg = !empty($relImages[0]) ? url(\Storage::url($relImages[0])) : asset('assets/images/sp1.png'); @endphp
{{ $item->name }}

{{ $item->name }}

Vehicle Audio
₹{{ number_format($item->selling_price, 0) }}
View Product
@endforeach
@endif