@include('backend/include/custom') @include('backend/include/head') @include('backend/include/datatableajax/tablelink') Product Single View Page
@include('backend/include/sidebar') @include('backend/include/header')
@php $multipleImages = json_decode($productdata->multiple_image, true); $allImages = !empty($multipleImages) ? array_merge([$productdata->image], $multipleImages) : [$productdata->image]; @endphp
@foreach ($allImages as $index => $img) Thumbnail @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 --}}
{!! $productdata->description !!}
  • Meta Title: {{ $productdata->meta_title }}
  • Meta Keywords: {{ $productdata->meta_keyword }}
  • Meta Description: {{ $productdata->meta_description }}

NA

@include('backend/include/footer') @include('backend/include/datatableajax/tablescript')