@php
$multipleImages = json_decode($productdata->multiple_image, true);
$allImages = !empty($multipleImages) ? array_merge([$productdata->image], $multipleImages) : [$productdata->image];
@endphp
@foreach ($allImages as $index => $img)
 }})
@endforeach
@foreach ($allImages as $index => $img)
@if($index != 0)
@endif
@endforeach
{{-- Product Title --}}
{{ $productdata->product_item }}
{{-- Price Section --}}
₹{{ $productdata->default_price }}
MRP
₹{{ $productdata->mrp_price }}
{{-- Info Boxes --}}
@php
$serviceName = \App\Models\Service::where('id', $productdata->service_id)->value('title');
$subserviceName = \App\Models\Subservice::where('id', $productdata->subservice_id)->value('title');
$brandName = \App\Models\Brand::where('id', $productdata->brand_id)->value('brand_name');
@endphp
Service
{{ $serviceName }}
Sub Service
{{ $subserviceName }}
Brand
{{ $brandName ?? 'NA' }}
Image Description
{{ $productdata->img_description }}
{{-- Optional: Quantity and Cart Buttons --}}