From efadff5ebc1020284df3e8b0ad7b378b4b906c25 Mon Sep 17 00:00:00 2001 From: Namanv509 Date: Mon, 13 Oct 2025 22:40:35 +0530 Subject: [PATCH] Revert 'Per learner price update in tooltip' Signed-off-by: Namanv509 --- src/components/Pricing/PricingAddons/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Pricing/PricingAddons/index.js b/src/components/Pricing/PricingAddons/index.js index fc3f7a3659895..362bb2446d664 100644 --- a/src/components/Pricing/PricingAddons/index.js +++ b/src/components/Pricing/PricingAddons/index.js @@ -349,9 +349,7 @@ export const PricingAddons = ({ isYearly = false, setIsYearly, currency, enterpr const multiplier = selectedSubAddOns["academy-practical"] ? 2 : 1; const totalPrice = pricePerUser * option.learners * multiplier; const period = isYearly ? "/year" : "/month"; - return `per learner price - ${formatSliderPrice( - (isYearly ? option.yearlyPerUser : option.monthlyPerUser) * (selectedSubAddOns["academy-practical"] ? 2 : 1), currency)}${isYearly ? "/yearly" : "/month"}`; - } + return `${option.learners} learners - ${formatPrice(totalPrice)}${period}`;} return ""; }} max={(() => {