From d36a21cb0a6e95323fa9dd868a79bf1a318968e3 Mon Sep 17 00:00:00 2001
From: it-fixcomart
Date: Mon, 10 Mar 2025 21:41:38 +0700
Subject: update code variant no pick up
---
src/lib/variant/components/VariantCard.jsx | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
(limited to 'src/lib/variant')
diff --git a/src/lib/variant/components/VariantCard.jsx b/src/lib/variant/components/VariantCard.jsx
index d8cd5c93..79746995 100644
--- a/src/lib/variant/components/VariantCard.jsx
+++ b/src/lib/variant/components/VariantCard.jsx
@@ -128,10 +128,18 @@ const VariantCard = ({ product, openOnClick = true, buyMore = false }) => {
Berat Item : {product?.weight} Kg x {product?.quantity} Barang
-
+ {product.soQty && (
+
+ {product.soQty !== product.reservedStockQty
+ ? 'Barang sedang disiapkan'
+ : `${product.reservedStockQty} barang bisa di
+ kirim/pickup`}
+
+ )}
+ {/*
{qtyPickUp} barang ini bisa di pickup maksimal pukul
16.00
-
+
*/}
{product.hasFlashsale && (
<>
--
cgit v1.2.3