From d1b35005d431164d1a7fa981bfb96e7f8c1465ee Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Thu, 16 May 2024 21:44:02 +0100 Subject: [PATCH] Adjust how unavailable item banner is displayed Make item prices more realistic for testing --- front/src/components/BasketItem.svelte | 25 ++++++--------- front/src/lib/test-data.ts | 29 ++++++++--------- front/src/pages/Checkout.svelte | 15 +-------- front/src/pages/Checkout/LeFinal.svelte | 42 +++++++++++++++++++++---- 4 files changed, 62 insertions(+), 49 deletions(-) diff --git a/front/src/components/BasketItem.svelte b/front/src/components/BasketItem.svelte index e2aa809..9d574ff 100644 --- a/front/src/components/BasketItem.svelte +++ b/front/src/components/BasketItem.svelte @@ -25,13 +25,12 @@
-
- {#if !item.data.availability} -
-   Item is no-longer for sale -
- {/if} - + {#if !item.data.availability} +
+   Item is no-longer for sale +
+ {/if} +
{#if item.data.images && item.data.images[0]} Item {:else} @@ -71,6 +70,10 @@