summaryrefslogtreecommitdiff
path: root/src/lib/cart/components/Cartheader.jsx
diff options
context:
space:
mode:
authortrisusilo <tri.susilo@altama.co.id>2023-10-06 06:54:30 +0000
committertrisusilo <tri.susilo@altama.co.id>2023-10-06 06:54:30 +0000
commit1203225f97f4371823ef82103b89bcddf2bce59c (patch)
tree8c9fc18df252de1fd5afa57e64f13e005028f27a /src/lib/cart/components/Cartheader.jsx
parent010cbf9ff08835ed0cf61e821ce4db79f744893c (diff)
parent5d4cf836d098e9c351bce4d25f0e88e341646ccc (diff)
Merged in CR/Pricelist (pull request #92)
CR/Pricelist
Diffstat (limited to 'src/lib/cart/components/Cartheader.jsx')
-rw-r--r--src/lib/cart/components/Cartheader.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cart/components/Cartheader.jsx b/src/lib/cart/components/Cartheader.jsx
index cbe7c7e1..901b1501 100644
--- a/src/lib/cart/components/Cartheader.jsx
+++ b/src/lib/cart/components/Cartheader.jsx
@@ -204,7 +204,7 @@ const Cardheader = (cartCount) => {
</p>
</Link>
- {product?.price?.discountPercentage > 0 && (
+ {product?.hasFlashsale && (
<div className='flex gap-x-1 items-center mb-2 mt-1'>
<div className='badge-solid-red'>
{product?.price?.discountPercentage}%