added baha anyklmak, attributes
This commit is contained in:
@@ -201,9 +201,9 @@ const ProductCard = ({
|
||||
onMouseLeave={() => setIsHovered(false)}
|
||||
>
|
||||
<div className={styles.imageContainer}>
|
||||
{(product.discount || calculatedDiscount) && (
|
||||
{(product.discount > 0 || calculatedDiscount > 0) && (
|
||||
<span className={styles.discountBadge}>
|
||||
-{product.discount ?? calculatedDiscount}%
|
||||
-{product.discount || calculatedDiscount}%
|
||||
</span>
|
||||
)}
|
||||
{product.stock === 0 && (
|
||||
@@ -221,7 +221,7 @@ const ProductCard = ({
|
||||
<div className={styles.priceContainer}>
|
||||
<div>
|
||||
{isPriceZero(price_amount) ? (
|
||||
<span className={styles.currentPrice}>Bahasyny anyklamaly</span>
|
||||
<span className={styles.currentPrice}> {t("cart.pendingPriceTitle")}</span>
|
||||
) : (
|
||||
<>
|
||||
<span className={styles.currentPrice}>{price_amount} m.</span>
|
||||
|
||||
Reference in New Issue
Block a user