diff --git a/src/components/atoms/ButtonCart.svelte b/src/components/atoms/ButtonCart.svelte index 543ee6d..9144af1 100644 --- a/src/components/atoms/ButtonCart.svelte +++ b/src/components/atoms/ButtonCart.svelte @@ -14,9 +14,8 @@
+ {#if $cartAmount > 0} + {$cartAmount} + {/if} - - {#if $cartAmount > 0} - {$cartAmount} - {/if}
\ No newline at end of file diff --git a/src/components/molecules/CartItem.svelte b/src/components/molecules/CartItem.svelte index 7952c95..bd35771 100644 --- a/src/components/molecules/CartItem.svelte +++ b/src/components/molecules/CartItem.svelte @@ -30,7 +30,10 @@

Poster

-

{item.product.name} – {item.price_total}€

+

+ {item.product.name} +
– {item.price}€ +

{#if item && item.quantity}