@php $main_image = $item->images[0]->path; foreach ($item->images as $image) { if ($image->chosen_one == true) { $main_image = $image->path; } } @endphp @extends('main', [ 'title' => 'Les détails du produit ' . $item->libelle, 'image' => asset('storage/public/produits/' . $main_image), 'type' => $item->rapide_description, ]) @section('content')
Acceuil   >   {{ $item->type_produit->libelle }}   >   {{ $item->libelle }}
@foreach ($item->images as $image)
@endforeach

{{ $item->libelle }}

{{ $item->type_produit->libelle }}

{!! $item->rapide_description !!}

{{ number_format($item->prix, 0, null, ' ') }} F CFA

{!! $item->description !!}
{!! $item->specifications !!}
Témoignages
@endsection @push('js')
@endpush @push('css') @endpush