diff --git a/src/components/antivirus/AlternativeHeroSection.tsx b/src/components/antivirus/AlternativeHeroSection.tsx
index 752bf4dbc..74d0fab8c 100644
--- a/src/components/antivirus/AlternativeHeroSection.tsx
+++ b/src/components/antivirus/AlternativeHeroSection.tsx
@@ -47,7 +47,7 @@ const AlternativeHeroSection = ({ textContent, currentPrice, currency }: Alterna
-
+
= ({ FirstComponent }) => {
return (
-
+
);
diff --git a/src/components/shared/pricing/PriceCard/HorizontalPriceCard.tsx b/src/components/shared/pricing/PriceCard/HorizontalPriceCard.tsx
index 42ef4ff6a..85fd0ef44 100644
--- a/src/components/shared/pricing/PriceCard/HorizontalPriceCard.tsx
+++ b/src/components/shared/pricing/PriceCard/HorizontalPriceCard.tsx
@@ -47,9 +47,11 @@ export const HorizontalPriceCard = ({
const contentText = require(`@/assets/lang/en/priceCard.json`);
+ const MIN_DISCOUNT_PERCENT_TO_SHOW = 1;
const hasDiscount = decimalDiscountValue && decimalDiscountValue > 0;
const discountedPrice = hasDiscount ? (Number(price) * decimalDiscountValue) / 100 : Number(price);
const currentPrice = (Math.trunc(discountedPrice * 100) / 100).toFixed(2);
+ const showDiscount = Boolean(hasDiscount) && 100 - decimalDiscountValue! >= MIN_DISCOUNT_PERCENT_TO_SHOW;
const cardLabel =
{
'5TB': contentText.productFeatures.planTypes.ultimate,
@@ -102,7 +104,7 @@ export const HorizontalPriceCard = ({
{currency}
{contentText.perMonth}
- {hasDiscount && (
+ {showDiscount && (
{price}
{currency}