+ No items in the basket +
+ {:else} + {#each orderConfirmationBasket.items as item (item.id)} ++ Total Price: $xx.xx +
+From 5623d8167f99912d57946643e83e4fe6a11a4cd9 Mon Sep 17 00:00:00 2001 From: Josh Creek <8179928+jcreek@users.noreply.github.com> Date: Sun, 5 May 2024 12:33:14 +0100 Subject: [PATCH] feat(*): Add basic order confirmation page --- .../checkout/OrderConfirmationItem.svelte | 49 ++++++++++ src/routes/checkout/success/+page.svelte | 94 ++++++++++++++++++- 2 files changed, 138 insertions(+), 5 deletions(-) create mode 100644 src/lib/components/checkout/OrderConfirmationItem.svelte diff --git a/src/lib/components/checkout/OrderConfirmationItem.svelte b/src/lib/components/checkout/OrderConfirmationItem.svelte new file mode 100644 index 0000000..abdca69 --- /dev/null +++ b/src/lib/components/checkout/OrderConfirmationItem.svelte @@ -0,0 +1,49 @@ + + +
+ {itemCategoryDescription} +
+ ++ Qty: {quantity} +
+- We appreciate your business! If you have any questions, please email - orders@example.com. -
+ + ++ Thanks for making a purchase you can check our order summary below +
++ No items in the basket +
+ {:else} + {#each orderConfirmationBasket.items as item (item.id)} ++ Total Price: $xx.xx +
+