@extends('frontend.layouts.app') @section('title') {{ $product->product_name }} - {{ config('app.name') }} @endsection @section('content') @if ($product->banner_image)
slider-img
@endif
@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) @endforeach
{{ $specification->spec_name }} : {{ $specification->spec_value }}
@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>
  • @endforeach
@endif
@endif @endforeach @endif
{{--
--}} {{-- --}}
{{-- popup form --}}

Contact information

Enquiry Notes *

@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 @endif
@endforeach
@php $i++; @endphp @endforeach
@endsection @push('after-scripts') @endpush