diff options
| author | trisusilo <tri.susilo@altama.co.id> | 2023-10-06 08:16:59 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2023-10-06 08:16:59 +0000 |
| commit | 5bc76488a76f2a1a39a501eba1685e0875f61030 (patch) | |
| tree | c5aee34ead56a09f7d9194da95ccd27b3a53a52d /src/core | |
| parent | b0333b521a3bc6e526b7c7b06d13680d8b1e9e01 (diff) | |
| parent | 2ac1c3a84032ba819046e1634ca7c46ac0521e3b (diff) | |
Merged in CR/Pricelist (pull request #94)
add condisi if harga tier user lebih rendah dari flash sale
Diffstat (limited to 'src/core')
| -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'> |
