diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-10-06 15:19:54 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-10-06 15:19:54 +0700 |
| commit | 2ac1c3a84032ba819046e1634ca7c46ac0521e3b (patch) | |
| tree | f3a8e07e51b8035902f9701ccda07b5593bb998d /src/core/components | |
| parent | 0c74635521471e3d67c434a7df9cd9c61bbcaa72 (diff) | |
add condisi if harga tier user lebih rendah dari flash sale
Diffstat (limited to 'src/core/components')
| -rw-r--r-- | src/core/components/elements/Product/cartProductsList.jsx | 2 |
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'> |
