@extends('frontend.layouts.app') @section('title') {{ $product->product_name }} - {{ config('app.name') }} @endsection @section('content') @if ($product->banner_image) @endif @foreach ($images as $img) @endforeach @foreach ($images as $img) @endforeach @csrf {{ $product->product_name }} ({{ $product->model_no }}) {!! $product->product_description !!} @if ($product->categories->isNotEmpty()) Category: {{ $product->categories->pluck('name')->implode(',') }} @endif @if ($productSpecifications->isNotEmpty()) Specifications @foreach ($productSpecifications as $specification) {{ $specification->spec_name }} : {{ $specification->spec_value }} @endforeach @endif @if ($attribute) @foreach ($attribute as $att_k => $att_v) @if (count($att_v) > 1) {{ $att_k }} : @if ($att_k == 'Color') @foreach ($att_v as $attribute1) @if ($loop->iteration == 1) @endif @endforeach @else @foreach ($att_v as $attribute1) iteration == 1) checked @endif> {{ $attribute1['name'] }} @endforeach @endif @endif @endforeach @endif {{-- - + --}} {{-- Add To Cart --}} Enquire Now {{-- popup form --}} X Contact information Enquiry Notes * X @if ($attribute) Specifications @foreach ($attribute as $att_k => $att_val) {{ $att_k }} @php $att_v = ''; @endphp @foreach ($att_val as $attribute) @php $att_v .= $attribute['name'] . ', '; @endphp @endforeach @php echo substr($att_v, 0, strlen($att_v) - 2); @endphp @endforeach @endif @php $i = 0; @endphp @foreach ($data as $val) @foreach ($val['grids'] as $grid) @if ($grid['grid_type'] == 1) {!! $grid['content'] !!} @else @if ($grid['link']) @endif @if ($grid['link']) @endif @endif @endforeach @php $i++; @endphp @endforeach @endsection @push('after-scripts') @endpush
Category: {{ $product->categories->pluck('name')->implode(',') }}
Specifications