summaryrefslogtreecommitdiff
path: root/src/lib/cart/components/Cart.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cart/components/Cart.jsx')
-rw-r--r--src/lib/cart/components/Cart.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cart/components/Cart.jsx b/src/lib/cart/components/Cart.jsx
index b5976a1b..acd23af6 100644
--- a/src/lib/cart/components/Cart.jsx
+++ b/src/lib/cart/components/Cart.jsx
@@ -685,7 +685,7 @@ const Cart = () => {
</td>
<td className='relative'>
<ComponentCanBuy canBuy={product.canBuy} />
- {product?.price?.discountPercentage > 0 && (
+ {product?.hasFlashsale && (
<div className='flex gap-x-1 items-center justify-center mt-3'>
<div className='text-gray_r-11 line-through text-caption-1'>
{currencyFormat(product?.price?.price)}