diff --git a/app/components/Cart/CartFAB.vue b/app/components/Cart/CartFAB.vue index 670ffa6..9c77c28 100644 --- a/app/components/Cart/CartFAB.vue +++ b/app/components/Cart/CartFAB.vue @@ -7,16 +7,10 @@ import { Button } from '@/components/ui/button' const { itemCount, total } = useCart() const { open } = useCartUI() -// Get current route -const route = useRoute() - // Determine if FAB should be visible const isVisible = computed(() => { - // Only show on /products and /products/[id] routes - const isProductPage = route.path === '/products' || route.path.startsWith('/products/') - - // Only show when cart has items - return isProductPage && itemCount.value > 0 + // Show when cart has items (on all pages) + return itemCount.value > 0 }) // Format price as EUR in German locale diff --git a/app/components/UserMenu.vue b/app/components/UserMenu.vue index 4c48989..ab9b23f 100644 --- a/app/components/UserMenu.vue +++ b/app/components/UserMenu.vue @@ -54,7 +54,7 @@ async function handleLogout() {