diff --git a/resources/views/shop/products/show.blade.php b/resources/views/shop/products/show.blade.php index 5576412..c19e0b5 100644 --- a/resources/views/shop/products/show.blade.php +++ b/resources/views/shop/products/show.blade.php @@ -1,7 +1,8 @@ @extends('layouts.shop') @section('title', $product->name) @section('content') -
+@php $firstImageUrl = $product->images->count() ? asset('storage/'.$product->images->first()->path) : ''; @endphp +
{{-- Bilder --}}