From 9b8546f89cc136559d035cbd58a578273dff0629 Mon Sep 17 00:00:00 2001 From: Steven Eubank Date: Wed, 8 Jan 2025 13:54:09 +0100 Subject: [PATCH] add error --- src/pages/CheckoutPage.vue | 6 +++++- vite.config.js | 13 ++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/pages/CheckoutPage.vue b/src/pages/CheckoutPage.vue index 25f993d..ae97b20 100644 --- a/src/pages/CheckoutPage.vue +++ b/src/pages/CheckoutPage.vue @@ -24,7 +24,7 @@

{{ item.quantity }} x {{ item.name }}: ${{ (parseFloat(item.price.replace('$', '')) * item.quantity).toFixed(2) }}

Total: ${{ totalCartValue }}

- + @@ -90,6 +90,10 @@ function decreaseQuantity(itemId) { cartStore.removeItem(itemId) } } + +function handleCheckout() { + throw new Error('Checkout functionality not implemented yet!') +}