@extends('layouts.app') @section('title', $product->name) @section('content')
{{-- Breadcrumb --}}
{{-- Image --}}
@if($product->image_url) {{ $product->name }} @else
@endif {{-- Badge promos --}} @if($product->old_price)
-{{ $product->discount_percent }}%
@endif
{{-- Details --}}
@if($product->category) {{ $product->category->name }} @endif

{{ $product->name }}

@if($product->brand)

Marque : {{ $product->brand }}

@endif
{{ number_format($product->price, 2) }} FCFA @if($product->old_price) {{ number_format($product->old_price, 2) }} FCFA -{{ $product->discount_percent }}% @endif
@if($product->short_description)

{{ $product->short_description }}

@endif {{-- Stock --}}
@if($product->stock > 0) En stock ({{ $product->stock }} disponibles) @else Rupture de stock @endif
@if($product->stock > 0)
@csrf
@endif Commander maintenant {{-- SKU --}} @if($product->sku)

Référence : {{ $product->sku }}

@endif
{{-- Description --}} @if($product->description)

Description du produit

{!! nl2br(e($product->description)) !!}
@endif {{-- Related Products --}} @if($related->isNotEmpty())

Produits similaires

@endif
@push('scripts') @endpush @endsection