@ -6,7 +6,7 @@
* Includes functional "Add to Cart" functionality with notifications and cart UI integration .
* Includes functional "Add to Cart" functionality with notifications and cart UI integration .
* /
* /
import { ArrowLeft , CheckCircle , Loader2 } from 'lucide-vue-next'
import { ArrowLeft , ArrowLeftIcon , CheckCircle , ChevronLeftIcon , Loader2 , ShoppingCartIcon } from 'lucide-vue-next'
import { toast } from 'vue-sonner'
import { toast } from 'vue-sonner'
/ / P a g e m e t a d a t a
/ / P a g e m e t a d a t a
@ -208,6 +208,7 @@ const handleAddToCart = async () => {
<!-- Action Buttons -- >
<!-- Action Buttons -- >
< div class = "flex flex-col gap-4 sm:flex-row" >
< div class = "flex flex-col gap-4 sm:flex-row" >
< NuxtLink to = "/products" class = "btn-secondary flex-1 text-center" >
< NuxtLink to = "/products" class = "btn-secondary flex-1 text-center" >
< ArrowLeftIcon class = "w-5 h-5 mr-2 inline-block" / >
Weitere Produkte ansehen
Weitere Produkte ansehen
< / NuxtLink >
< / NuxtLink >
< Button variant = "experimenta" size = "experimenta" class = "flex-1 relative"
< Button variant = "experimenta" size = "experimenta" class = "flex-1 relative"
@ -218,7 +219,10 @@ const handleAddToCart = async () => {
<!-- Button text -- >
<!-- Button text -- >
< span v-if ="isAddingToCart" > Wird hinzugefügt... < / span >
< span v-if ="isAddingToCart" > Wird hinzugefügt... < / span >
< span v -else -if = " product.stockQuantity = = = 0 " > Nicht verfügbar < / span >
< span v -else -if = " product.stockQuantity = = = 0 " > Nicht verfügbar < / span >
< span v-else > In den Warenkorb < / span >
< span v-else >
< ShoppingCartIcon class = "mr-3 inline-flex" / >
In den Warenkorb
< / span >
< / Button >
< / Button >
< / div >
< / div >