Просмотр исходного кода

Remove discount banner from the new plans page (#8814)

GitOrigin-RevId: 091de891bf7eeb357aabcb2253ec9fbfd64fd38b
M Fahru 4 лет назад
Родитель
Сommit
e1399cc10d

+ 0 - 7
services/web/app/src/Features/Subscription/plansV2Config.js

@@ -16,13 +16,6 @@ const config = {
         annual: 'MOST POPULAR',
       },
     },
-    discountedColumn: {
-      index: 1,
-      text: {
-        monthly: 'LIMITED-TIME DISCOUNT!',
-        annual: 'LIMITED-TIME DISCOUNT!',
-      },
-    },
     eventTrackingKey: 'plans-page-click',
     additionalEventSegmentation: { 'plan-page-layout-v2': 'new-plans-page' },
   },

+ 0 - 3
services/web/app/views/subscriptions/plans-marketing/v2/_mixins.pug

@@ -305,9 +305,6 @@ mixin table_head_price(plan, period)
 		if plan !== 'free' && period === 'annual'
 			strike.plans-v2-table-price-before-discount
 				+gen_localized_price_for_plan_view(plan, 'monthlyTimesTwelve')
-		if plan === 'personal' && period === 'monthly'
-			strike.plans-v2-table-price-before-discount
-				+gen_localized_undiscounted_price_for_plan_view_personal(period)
 		p.plans-v2-table-price
 			+gen_localized_price_for_plan_view(plan, period)
 		p.plans-v2-table-price-period-label