From 6d16a6b0f97434e5b8de4a1cb69fbeae69b00716 Mon Sep 17 00:00:00 2001 From: Marco Wende Date: Mon, 22 Jun 2026 07:14:29 +0200 Subject: [PATCH] Fix Alpine timing: use alpine:init + Alpine.data() so productDetail is registered before Alpine starts Co-Authored-By: Claude Sonnet 4.6 --- resources/views/shop/products/show.blade.php | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/resources/views/shop/products/show.blade.php b/resources/views/shop/products/show.blade.php index c19e0b5..de32e0d 100644 --- a/resources/views/shop/products/show.blade.php +++ b/resources/views/shop/products/show.blade.php @@ -2,7 +2,7 @@ @section('title', $product->name) @section('content') @php $firstImageUrl = $product->images->count() ? asset('storage/'.$product->images->first()->path) : ''; @endphp -
+
{{-- Bilder --}}
@@ -110,13 +110,17 @@ @endif @endsection