@extends('storefront.layout') @section('title', $product->name . ' — ' . $sfStore->name) @push('head') @endpush @section('content') {{-- Breadcrumb --}} {{-- ═══ Main product card shell ═══ --}}
{{-- ── Left: Gallery ── --}} {{-- ── Right: Info panel ── --}}
{{-- Category label --}} @if($product->category) {{ $product->category->name }} @endif {{-- Product name + icon (matches popup) --}}

{{ $product->name }}

{{-- Price + icon (matches popup) --}}
{{ $product->formatted_price }}
{{-- Description excerpt (matches popup) --}} @if($product->description) @php $descText = strip_tags($product->description); @endphp

{{ \Illuminate\Support\Str::limit($descText, 110) }} @if(strlen($descText) > 110) Read more @endif

@endif {{-- ── Variant groups + Cart ── --}}
@csrf @if(!empty($variantGroups)) @endif @if(!empty($variantGroups)) @foreach($variantGroups as $groupName => $group)
{{ $groupName }}
@if($group['has_images']) {{-- Image-card mode --}}
@foreach($group['items'] as $v) @endforeach
@else {{-- Pill mode --}}
@foreach($group['items'] as $v) @endforeach
@endif
@endforeach

Please select an option before adding to cart.

@endif
View cart
{{-- Back link --}} {{-- SKU + Category chips — below back link --}} @if($product->sku || $product->category)
@if($product->sku)
SKU
{{ $product->sku }}
@endif @if($product->category)
Category
{{ $product->category->name }}
@endif
@endif
{{-- /pd-info --}}
{{-- /pd-body --}}
{{-- /pd-shell --}} {{-- ── Full description section ── --}} @if($product->description)
Description
{!! $product->description !!}
@endif {{-- ── Related products ── --}} @if($related->isNotEmpty())

You may also like

@foreach($related as $relProduct) @include('storefront.partials.product-card', ['product' => $relProduct, 'showAddToCart' => true]) @endforeach
@endif @include('storefront.partials.float-cart') @endsection