This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow shoppers to sign-up for an account from the Checkout block (#3331)
* expose checkout signup feature to release build (feature plugin): - remove isExperimental from block/editor js (the block is already gated to plugin only) - gate entire service class to feature plugin && Woo >= 4.7 - this ensures our custom email and set password flow are only active for supported woo version, if blocks plugin is active - also refactored the gating logic so the woo version check is used to gate all code * eslint action told me to delete comment `.` ... ? * remove experimental feature flag for checkout signup front-end: - "Create Account?" checkbox in address/contact component - logged-out prompt logic - handle case when signup is enabled and guest checkout is not enabled, i.e. checkout requires automatic signup * fix formatting issues * add allowCreateAccount to proptypes for CheckoutForm and AddressStep
- Loading branch information
Showing
6 changed files
with
13 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters