From 9476cf40f0af07d66466b91ff03ccc0160cb83e9 Mon Sep 17 00:00:00 2001 From: Jeremy Yip Date: Wed, 27 Nov 2024 00:58:51 -0800 Subject: [PATCH] Plans: Hide term savings price display in the logged in plans page (#96816) --- client/my-sites/plans-features-main/index.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/client/my-sites/plans-features-main/index.tsx b/client/my-sites/plans-features-main/index.tsx index ce5fe8be7b447..58b461c5ef31e 100644 --- a/client/my-sites/plans-features-main/index.tsx +++ b/client/my-sites/plans-features-main/index.tsx @@ -843,8 +843,9 @@ const PlansFeaturesMain = ( { enableLogosOnlyForEnterprisePlan={ showSimplifiedFeatures } hideFeatureGroupTitles={ showSimplifiedFeatures } enableTermSavingsPriceDisplay={ - isEnabled( 'plans/term-savings-price-display' ) || - longerPlanTermDefaultExperiment.isEligibleForTermSavings + ( isEnabled( 'plans/term-savings-price-display' ) || + longerPlanTermDefaultExperiment.isEligibleForTermSavings ) && + isInSignup } /> ) } @@ -906,8 +907,9 @@ const PlansFeaturesMain = ( { enableFeatureTooltips featureGroupMap={ featureGroupMapForComparisonGrid } enableTermSavingsPriceDisplay={ - isEnabled( 'plans/term-savings-price-display' ) || - longerPlanTermDefaultExperiment.isEligibleForTermSavings + ( isEnabled( 'plans/term-savings-price-display' ) || + longerPlanTermDefaultExperiment.isEligibleForTermSavings ) && + isInSignup } /> ) }