@extends('layout.frontend_layout') @section('content')
@foreach ($product->productImage ?? [] as $key => $item)
@endforeach
@foreach ($product->productImage ?? [] as $key => $item)
@endforeach

{{ $product->name }}

{{ $product->price }} £ {{ $product->discount ? '£' : '' }} {{ $product->discount }}

In Stock

{!! $product->details !!}

{{-- {{dd($product)}} --}} {{-- @if (@$product->productSize && $product->productSize->count() > 0)
Size
    @foreach ($product->productSize ?? [] as $size)
  • {{ $size->size }}

  • @endforeach
@endif --}}
@if (@$product->productSize && $product->productSize->count() > 0) @endif {{-- --}}
@if ($product->video)
@endif
@php $count_is = 0; @endphp @foreach ($categoryProduct->groupby('brand.name') as $brand_is => $item_is) @php $slug_is = generate_slug($brand_is); @endphp
--}} class="tab-pane fade in {{ $comming_slug == $slug_is ? 'active' : '' }}">
@foreach ($item_is as $key => $item)
NEW

{{ $item->category?->name }}

{{ $item->name }}

£{{ $item->price }} £{{ $item->discount }}

@endforeach
@endforeach

{!! $product->details !!}

@if (count( $product->productLavel) > 0)

Lavel

@foreach ( $product->productLavel?? [] as $key=> $item_is ) {{$item_is->percentage}} % {{$item_is->percentage}}% @endforeach
@endif
@if (@$product->insurance)
Insurance Price : {{@$product->insurance?->insurance_amount}} Insurance Year : {{@$product->insurance?->year}} Description : {{@$product->insurance?->description}}
@endif
@endsection