diff --git a/app/templates/shop/products.html b/app/templates/shop/products.html index 43f3a6cb..7c4e2ddf 100644 --- a/app/templates/shop/products.html +++ b/app/templates/shop/products.html @@ -84,13 +84,19 @@

-
-
- - +
+
+ +
-
@@ -201,6 +207,14 @@ document.addEventListener('alpine:init', () => { this.loadProducts(); }, + formatPrice(amount) { + if (!amount && amount !== 0) return ''; + return new Intl.NumberFormat('de-DE', { + style: 'currency', + currency: 'EUR' + }).format(amount); + }, + async addToCart(product) { console.log('[SHOP] Adding to cart:', product);