From 907aac1b75ebc0776240b615a07f99844d68c4b4 Mon Sep 17 00:00:00 2001 From: Mike Smith <89040888+smiggiddy@users.noreply.github.com> Date: Fri, 22 Nov 2024 20:46:32 -0500 Subject: [PATCH] as good as itll get --- shopping-cart/src/Cart.jsx | 34 ++++++++++++++++++++------- shopping-cart/src/css/cart.module.css | 14 +++++++++++ 2 files changed, 39 insertions(+), 9 deletions(-) diff --git a/shopping-cart/src/Cart.jsx b/shopping-cart/src/Cart.jsx index 61022cb..f96aefa 100644 --- a/shopping-cart/src/Cart.jsx +++ b/shopping-cart/src/Cart.jsx @@ -66,7 +66,10 @@ function OrderSummary({ cart }) {

Shipping (10%): ${currencyFormat(shippingCosts)}

Total: ${currencyFormat(total)}

- - - +
+

${currencyFormat(price)} x

+
+ + + +
+

Item total: ${currencyFormat(qty * price)}

+
-

total: ${currencyFormat(qty * price)}