@extends('front.layout.app') @section('content') Product Detail @if(count($product->productGalleryImages()) > 0) @forelse($product->productGalleryImages() as $galleryImg) @empty @endforelse @endif {{-- --}} {{-- Price Range $ 15/---}} {{-- to $ 70/---}} {{-- --}} {{-- --}} {{ $product->name ?? '' }} 37 reviews Regular price $ {{ $product->price ?? '' }} @forelse(json_decode($product->features) ?? [] as $feature) @if($feature == 'waterproof' ) waterproof @elseif($feature == 'hypoallergenic') Hypoallergenic @endif @empty @endforelse @csrf @if(count($product->variations()) > 0) @php $addedSizes = []; @endphp @forelse($product->variations() as $variation) @if($variation->size() && !in_array($variation->size()->id, $addedSizes)) {{ $variation->size()->name }} @php $addedSizes[] = $variation->size()->id; @endphp @endif @empty No sizes available @endforelse Colors @endif {{-- Size Guide--}} ADD TO CART {{-- Buy with --}} {{-- More payment options--}} @endsection @section('script') {{-- --}} @endsection