From aecf3630066fda25429f25efea97f6d65b7d823c Mon Sep 17 00:00:00 2001 From: Miqdad Date: Tue, 28 Oct 2025 21:06:29 +0700 Subject: add condition and styling --- .../product/components/Product/ProductDesktopVariant.jsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/lib/product/components/Product/ProductDesktopVariant.jsx b/src/lib/product/components/Product/ProductDesktopVariant.jsx index 86e95ddc..b2f16925 100644 --- a/src/lib/product/components/Product/ProductDesktopVariant.jsx +++ b/src/lib/product/components/Product/ProductDesktopVariant.jsx @@ -664,13 +664,16 @@ const ProductDesktopVariant = ({ /> Penawaran Harga Instan -
-
- - Pakai Voucher {currencyFormat(discount)} - + {discount > 0 && (product?.isFlashSale ?? 0) < 1 && ( +
+
+ + Pakai Voucher Hemat {currencyFormat(discount)} & potongan + ongkir hingga Rp. 20.000 + +
-
+ )}