@extends('layouts.app') @section('content')

{{ ucfirst($product->name) }}

{{ $product->brand->name ?? 'Blinds' }}

£{{$product->start_from}}
@php // Handle both single product and multiple products scenarios $productList = isset($product) ? collect([$product]) : $products; @endphp @if($productList->count() > 0) @foreach($productList as $index => $product)
@if($product->primary_image)
{{ $product->name }}
@endif @if($product->secondary_image)
{{ $product->name }}
@endif @if($product->secondary_image_2)
{{ $product->name }}
@endif

{{ ucfirst($product->name) }}

{{ $product->brand->name ?? 'Blinds' }}
£{{$product->start_from}}
@php $avgRating = $product->averageRating(); $fullStars = floor($avgRating); $hasHalfStar = ($avgRating - $fullStars) >= 0.5; @endphp @for($i = 1; $i <= 5; $i++) @if($i <= $fullStars) @elseif($i == $fullStars + 1 && $hasHalfStar) @else @endif @endfor

@php $desc = $product->short_description ?? 'High-quality blinds perfect for any room.'; @endphp @if(strlen($desc) > 120) {{ substr($desc, 0, 120) }}... Read More @else {{ $desc }} @endif

{{-- Check if the product has any tags assigned --}} @if($product->tags->isNotEmpty()) {{-- Wrapper for product tags --}} @endif @if($product->category_id !== 49)

Select Installation Method

Enter Your Measurements

@if(isset($optionTypes)) @foreach($optionTypes as $option)

{{ $option->name }}

@foreach($option->optionValues as $val) @endforeach
@endforeach @endif
@else
Measuring Guides
@if($systemTypes ) @foreach($systemTypes as $s) @endforeach @endif
Frame colour
@if($option ) @foreach ($option['Fascia'] ?? [] as $fascia) @endforeach @endif
@endif
delivery
Delivery
Just £9.99 for your
entire order.
paypal
Payment
Buy now, pay
later.
shield
SizeSure Cover
FREE replacement blinds.
Just £19.95.

Product Information

About {{ $product->name }}
{{ $product->short_description}}
The Intricate Breakdown
Specifications
Measuring for your new window coverings is quick and effortless.
Simply follow our easy step-by-step guides. Download Specifications

Top Picks for You

What Our Customers Say

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

Customer Reviews for {{ $product->name }}

@foreach($product->reviews->take(3) as $review)
@for($i = 1; $i <= 5; $i++) @if($i <= $review->rating) @else @endif @endfor
@if($review->is_verified)
Verified
@endif
{{ $review->title }}
{{ $review->comment }}
@endforeach
@endif @endforeach @else

No Products Found

No products match your criteria. Please try different filters.

View All Products
@endif @endsection