diff --git a/resources/views/fo/pages/products/show.blade.php b/resources/views/fo/pages/products/show.blade.php index 0c47b079..f1d2ab2f 100644 --- a/resources/views/fo/pages/products/show.blade.php +++ b/resources/views/fo/pages/products/show.blade.php @@ -78,13 +78,13 @@ {{-- LABELS TITLE --}} @if ($productModel->labels->where('published', true)) -
- @foreach ($productModel->labels->where('published', true) as $label) - {{ $label->picture_alt }} - @endforeach -
+
+ @foreach ($productModel->labels->where('published', true) as $label) + {{ $label->picture ?? $label->picture_alt }} + @endforeach +
@endif {{-- RANGE --}}
@@ -348,8 +348,8 @@ ]) {{ $productModel->banner_alt ? $productModel->banner_alt : ($productModel->range ? $productModel->range->banner_ambiance_alt : $productModel->subrange->range->banner_ambiance_alt) }} + title="{{ $productModel->banner ? $productModel->banner_title : ($productModel->range ? $productModel->range->banner_ambiance_title : $productModel->subrange->range->banner_ambiance_title) }}" + alt="{{ $productModel->banner ? $productModel->banner_alt : ($productModel->range ? $productModel->range->banner_ambiance_alt : $productModel->subrange->range->banner_ambiance_alt) }}">
{{-- PRODUCT ANIMATION --}} @@ -462,6 +462,7 @@ ]), 'btnRouteTitle' => 'nos produits', 'bgReverse' => true, + 'btnText' => 'voir tous les produits' ]) @endif