Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkout: add summary features for each of the WP.com plans (1) #43080

Merged
merged 2 commits into from
Jun 9, 2020

Conversation

michaeldcain
Copy link
Member

In #42854 we added plan features to the Checkout summary for the business plan. This adds features for all active WordPress.com plans.

All Plans:

  • "Free domain for one year" unless a domain is in the cart, then the bundling message will be on the domain line item

Personal:

  • Remove WordPress.com ads
  • Limit your content to paying subscribers

Premium:

  • Unlimited access to our library of Premium Themes
  • Subscriber-only content and simple payment buttons
  • Track your stats with Google Analytics

Business:

  • Install custom plugins and themes
  • Drive traffic to your site with our advanced SEO tools
  • Track your stats with Google Analytics
  • Real-time backups and activity logs

Ecommerce:

  • Install custom plugins and themes
  • Accept payments in 60+ countries
  • Integrations with top shipping carriers
  • Unlimited products or services for your online store
  • eCommerce marketing tools

To test:

  • add a plan to your cart and visit Checkout with ?flags=composite-checkout-testing
  • verify that the checkout summary has the correct features
  • switch plan variation and verify that the features remain
  • add a domain and verify that the "Free domain for one year" feature is removed (a separate domain item should be seen)
  • repeat for other plans

@michaeldcain michaeldcain added the [Feature] Checkout The checkout screen and process for purchases made on WordPress.com. label Jun 8, 2020
@michaeldcain michaeldcain requested review from fditrapani and a team June 8, 2020 19:37
@michaeldcain michaeldcain self-assigned this Jun 8, 2020
@matticbot
Copy link
Contributor

return [
! hasDomainsInCart && translate( 'Free domain for one year' ),
translate( 'Remove WordPress.com ads' ),
translate( 'Limit your content to paying subscribers.' ),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ String reuse speeds up translation and improves consistency. The following string might make a good alternative and has already been translated 18 times:
translate( 'Limit content to paying subscribers.' ) ES Score: 9

@matticbot
Copy link
Contributor

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

Sections (~320 bytes added 📈 [gzipped])

name      parsed_size           gzip_size
checkout      +1150 B  (+0.1%)     +320 B  (+0.1%)

Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory.
Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

@nbloomf
Copy link
Contributor

nbloomf commented Jun 8, 2020

Cain you are supposed to be on vacation!

All combinations of plan+domain show the expected lists of features -- nice work.

@fditrapani
Copy link
Contributor

Cain you are supposed to be on vacation!

Seriously! Looks good to me too.

@nbloomf nbloomf merged commit df5da53 into master Jun 9, 2020
@nbloomf nbloomf deleted the update/checkout-plan-features branch June 9, 2020 02:35
@a8ci18n
Copy link

a8ci18n commented Jun 9, 2020

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/3786479

Hi @michaeldcain, could you please edit the description of this PR and add a screenshot for our translators? Ideally it'd include all of the following strings:

  • Limit your content to paying subscribers.
  • Unlimited access to our library of Premium Themes
  • Subscriber-only content and payment buttons
  • Real-time backups and activity logs
  • Unlimited products or services for your online store
  • eCommerce marketing tools for emails and social networks

Thank you in advance!

@sirbrillig sirbrillig changed the title Checkout: add summary features for each of the WP.com plans Checkout: add summary features for each of the WP.com plans (1) Jun 9, 2020
nbloomf added a commit that referenced this pull request Jun 12, 2020
We added plan-specific feature lists in #43080 but forgot to prevent the free domain feature from being displayed on renewals; this PR fixes that.

Co-authored-by: nbloomf <nathan.bloomfield@automattic.com>
@a8ci18n
Copy link

a8ci18n commented Jul 5, 2020

Translation for this Pull Request has now been finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Checkout The checkout screen and process for purchases made on WordPress.com.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants