@extends('storefront.layout') @section('title', $product->name . ' — ' . ($settings->company_name ?? 'Shop')) @section('content') {{-- Breadcrumb --}}
{{-- Images --}}
@if(filled($product->images)) {{ $product->name }} @else
📷
@endif
{{-- Product details --}}
@if($product->category) {{ $product->category->name }} @endif

{{ $product->name }}

{{-- Description --}} @if($product->description)
{!! nl2br(e($product->description)) !!}
@endif {{-- Variant selector handles price, stock, and add-to-cart --}} {{-- Wishlist --}}
Save to wishlist
{{-- Meta --}} @if($product->sku)

SKU: {{ $product->sku }}

@endif
{{-- Additional info --}} @if($product->additional_info_title && $product->additional_info_body)

{{ $product->additional_info_title }}

{!! nl2br(e($product->additional_info_body)) !!}
@endif {{-- More images --}} @if(filled($product->images) && count($product->images) > 1)
@foreach(array_slice($product->images, 1) as $image) {{ $product->name }} @endforeach
@endif
{{-- Back link --}}
← Back to products
@endsection