diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-10-03 17:11:13 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-10-03 17:11:13 +0700 |
| commit | dde4c79768532247abae4a1d188c82f2d601fbe0 (patch) | |
| tree | cdf375735685197ac1fa9af5bd7ceeb8f22fd81f /src/lib/cart/components/Cartheader.jsx | |
| parent | 787d3aaa3187d3432c8e6b743b555ea3e4a4980c (diff) | |
check if flashsale in cart
Diffstat (limited to 'src/lib/cart/components/Cartheader.jsx')
| -rw-r--r-- | src/lib/cart/components/Cartheader.jsx | 2 |
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}% |
