From a88dbd7f7b271e78290506fdc61d68adba5d0019 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly
Date: Mon, 13 Feb 2023 17:09:53 +0700
Subject: Fixing
---
src/pages/shop/cart.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'src/pages/shop')
diff --git a/src/pages/shop/cart.js b/src/pages/shop/cart.js
index ef62bb23..1178781b 100644
--- a/src/pages/shop/cart.js
+++ b/src/pages/shop/cart.js
@@ -207,13 +207,13 @@ export default function Cart() {
{product.attributes.length > 0 ? ` | ${product.attributes.join(', ')}` : ''}
-
{currencyFormat(product.price.price_discount)}
{product.price.discount_percentage > 0 && (
<>
-
{product.price.discount_percentage}%
{currencyFormat(product.price.price)}
+
{product.price.discount_percentage}%
>
)}
+
{currencyFormat(product.price.price_discount)}
{currencyFormat(product.quantity * product.price.price_discount)}
--
cgit v1.2.3