From 47cc09c7f74b2c37f0fc1a98e50f7d76774ea4a4 Mon Sep 17 00:00:00 2001 From: Miqdad Date: Sat, 23 Aug 2025 08:55:34 +0700 Subject: Move price --- .../product-detail/components/PriceAction.tsx | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src-migrate/modules/product-detail/components/PriceAction.tsx b/src-migrate/modules/product-detail/components/PriceAction.tsx index f5c2d7b3..7548e016 100644 --- a/src-migrate/modules/product-detail/components/PriceAction.tsx +++ b/src-migrate/modules/product-detail/components/PriceAction.tsx @@ -92,13 +92,13 @@ const PriceAction = ({ product }: Props) => {
{Math.floor(activePrice.discount_percentage)}%
-
- Rp {formatCurrency(activePrice.price || 0)} +
+ Rp {formatCurrency(activePrice.price_discount || 0)}
)} -
- Rp {formatCurrency(activePrice.price_discount || 0)} +
+ Rp {formatCurrency(activePrice.price || 0)}
@@ -107,19 +107,19 @@ const PriceAction = ({ product }: Props) => { {formatCurrency(Math.round(activePrice.price_discount * PPN))}
{isMobile && ( -
- - Stock : {sla?.qty}{' '} - - {/* +
+ + Stock : {sla?.qty}{' '} + + {/* {' '} */} -
+
)} )} -- cgit v1.2.3