@extends('layouts.public.base') @section('page.title', $product->title) @section('page.description', strip_tags(Str::limit(preg_replace("/.*?<\/h\\1>/si", '', $product->description), 320))) @section('page.content')
@forelse ($product->images as $image) true, "opacity-70" => $product->quantity <= 0 ]) src="{{ $image->url_optimized }}" role="button" onclick="showFullscreenImageModal('{{ $image->url }}')"> @empty true, "opacity-70" => $product->quantity <= 0 ]) src="{{ asset('images/placeholder.png') }}"> @endforelse

{{ $product->title }}

@isset($product->length)

{{ $product->length }}

@endisset @isset($product->width) /

{{ $product->width }}

@endisset @isset($product->height) /

{{ $product->height }}

@endisset
@if ($product->isBestSeller) ✌️ Meilleures ventes @elseif ($product->inPromo) 🚨 Promotions @endif
{{ isset($product->promo_price) ? $product->promo_price_formatted : $product->price_formatted }} @isset($product->promo_price) {{ $product->price_formatted }} @endisset
@if ($product->quantity <= 0) Rupture de stock @else
@csrf
@push('page.scripts') @endpush
@endif {{-- Icons --}} @if ( (isset($product->icons['secured_payment']) && $product->icons['secured_payment']) || (isset($product->icons['made_in_france']) && $product->icons['made_in_france']) || (isset($product->icons['signature']) && $product->icons['signature']) )
@if(isset($product->icons['secured_payment']) && $product->icons['secured_payment'])
Paiement sécurisé

Paiement sécurisé

@endif @if(isset($product->icons['made_in_france']) && $product->icons['made_in_france'])
Fabriqué en France

Fabriqué en France

@endif @if(isset($product->icons['signature']) && $product->icons['signature'])
Signature

Signature

@endif @if(isset($product->icons['key']) && $product->icons['key'])
Clé

Clé

@endif @if(isset($product->icons['click_collect']) && $product->icons['click_collect'])
Click & Collect

Click & Collect

@endif @if(isset($product->icons['camera']) && $product->icons['camera'])
Site sécurisé

Site sécurisé

@endif
@endif {{-- --}}
{!! nl2br($product->description) !!}
@endsection @push('page.modals') @include('components.public.modals.product-added') @include('components.public.modals.fullscreen-image') @endpush @push('page.head') @endpush @push('page.scripts') @endpush @push('page.scripts') @endpush