summaryrefslogtreecommitdiff
path: root/src/core/components
diff options
context:
space:
mode:
authortrisusilo <tri.susilo@altama.co.id>2023-10-09 03:48:41 +0000
committertrisusilo <tri.susilo@altama.co.id>2023-10-09 03:48:41 +0000
commit5ab25c12716065421e64fcd91403bce31708eea6 (patch)
treeb3979bcf815686565fc5d672873c01eb552cbe31 /src/core/components
parent397e589d7cbd927a3d3e62a1aade1deff1124af5 (diff)
parent591dc095a0e5f655e419ec4d1ae11d8f54bed196 (diff)
Merged in CR/Pricelist (pull request #96)
CR/Pricelist
Diffstat (limited to 'src/core/components')
-rw-r--r--src/core/components/elements/Product/cartProductsList.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/components/elements/Product/cartProductsList.jsx b/src/core/components/elements/Product/cartProductsList.jsx
index 5887b425..32df992b 100644
--- a/src/core/components/elements/Product/cartProductsList.jsx
+++ b/src/core/components/elements/Product/cartProductsList.jsx
@@ -160,7 +160,7 @@ const CardProdcuctsList = ({
</td>
<td className='relative'>
<ComponentCanBuy canBuy={product.canBuy} />
- {product?.hasFlashsale ? (
+ {product?.hasFlashsale && product?.price?.discountPercentage > 0 ? (
<>
<div className='flex gap-x-1 items-center justify-center mt-3'>
<div className='text-gray_r-11 line-through text-caption-1'>