From ea8ebd3ee364cdf0ef09b410f85fed69c6d57534 Mon Sep 17 00:00:00 2001 From: Miqdad Date: Mon, 27 Oct 2025 09:22:59 +0700 Subject: pickup now fix --- src/lib/product/components/ProductCard.jsx | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'src') diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx index 801ca8f9..fbd5021f 100644 --- a/src/lib/product/components/ProductCard.jsx +++ b/src/lib/product/components/ProductCard.jsx @@ -116,7 +116,6 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => { - {/* BADGE DISKON Kanan-ATAS */} {(product?.lowestPrice?.discountPercentage ?? 0) > 0 && (
@@ -125,37 +124,27 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
)} - {/* BOTTOM-LEFT: Varian + PICK UP NOW */} {(product?.variantTotal > 1 || product?.isInBu) && ( -
+
+ {' '} {product?.variantTotal > 1 && ( -
- {product.variantTotal} Varian +
+ {' '} + {product.variantTotal} Varian{' '}
- )} - + )}{' '} {product?.isInBu && ( Pick Up Now - )} + )}{' '}
)} - {router.pathname != '/' && product?.flashSale?.id > 0 && (
-- cgit v1.2.3