diff --git a/plugins/woocommerce-admin/TESTING-INSTRUCTIONS.md b/plugins/woocommerce-admin/TESTING-INSTRUCTIONS.md index 34b0c3a69cf..99e7fc84e48 100644 --- a/plugins/woocommerce-admin/TESTING-INSTRUCTIONS.md +++ b/plugins/woocommerce-admin/TESTING-INSTRUCTIONS.md @@ -2,6 +2,18 @@ ## Unreleased +### Add Newsletter Signup #7601 + +- Start OBW and set up your browser console to monitor tracks. To do this, run `localStorage.setItem( 'debug', 'wc-admin:*' );` +- Observe "Get tips, product updates and inspiration straight to your mailbox" checkbox and "Email address" field in the Store Details step. +- Checking the checkbox should make the email field required, you should not be able to continue if it's not filled. +- Fill in the email address field with a valid email and click on continue. +- Observe in the track `wcadmin_storeprofiler_store_details_continue` with prop `email_signup` that appropriately flags if the user agreed to receive marketing emails. +- Continue until Business Features step. +- Observe the "I'm setting up a store for a client" checkbox in the step. +- Click on continue. +- Observe in the track `wcadmin_storeprofiler_store_business_details_continue_variant` with prop `setup_client` that appropriately flags if the user is setting up store for a client. + ### Making business details sticky in OBW #7426 1. Start out with a fresh store diff --git a/plugins/woocommerce-admin/changelogs/add-7517-add-email-address-field-obw b/plugins/woocommerce-admin/changelogs/add-7517-add-email-address-field-obw new file mode 100644 index 00000000000..0044b8d26a8 --- /dev/null +++ b/plugins/woocommerce-admin/changelogs/add-7517-add-email-address-field-obw @@ -0,0 +1,4 @@ +Significance: minor +Type: Dev + +Add email address field to OBW #7552 diff --git a/plugins/woocommerce-admin/changelogs/add-7519-subscribe-onboarding-email-to-mailchimp b/plugins/woocommerce-admin/changelogs/add-7519-subscribe-onboarding-email-to-mailchimp new file mode 100644 index 00000000000..06fa798478f --- /dev/null +++ b/plugins/woocommerce-admin/changelogs/add-7519-subscribe-onboarding-email-to-mailchimp @@ -0,0 +1,4 @@ +Significance: minor +Type: Add + +Added MailchimpScheduler that runs daily to subscribe store_email in the profile data #7579 diff --git a/plugins/woocommerce-admin/changelogs/update-7514-remove-onboarding-email-marketing-inbox-notification b/plugins/woocommerce-admin/changelogs/update-7514-remove-onboarding-email-marketing-inbox-notification new file mode 100644 index 00000000000..5ad36e99a24 --- /dev/null +++ b/plugins/woocommerce-admin/changelogs/update-7514-remove-onboarding-email-marketing-inbox-notification @@ -0,0 +1,4 @@ +Significance: minor +Type: Update + +Deleted OnboardingEmailMarketing note class #7595 diff --git a/plugins/woocommerce-admin/client/profile-wizard/steps/business-details/flows/selective-bundle/index.js b/plugins/woocommerce-admin/client/profile-wizard/steps/business-details/flows/selective-bundle/index.js index ea42f37a633..40a10e87578 100644 --- a/plugins/woocommerce-admin/client/profile-wizard/steps/business-details/flows/selective-bundle/index.js +++ b/plugins/woocommerce-admin/client/profile-wizard/steps/business-details/flows/selective-bundle/index.js @@ -11,6 +11,8 @@ import { CardFooter, TabPanel, __experimentalText as Text, + FlexItem, + CheckboxControl, } from '@wordpress/components'; import { withDispatch, withSelect } from '@wordpress/data'; import { SelectControl, Form, TextControl } from '@woocommerce/components'; @@ -138,6 +140,7 @@ class BusinessDetails extends Component { product_count: productCount, revenue, selling_venues: sellingVenues, + setup_client: isSetupClient, } = this.state.savedValues; const updates = { @@ -147,6 +150,7 @@ class BusinessDetails extends Component { product_count: productCount, revenue, selling_venues: sellingVenues, + setup_client: isSetupClient, ...additions, }; @@ -242,6 +246,7 @@ class BusinessDetails extends Component { product_count: productCount, selling_venues: sellingVenues, revenue, + setup_client: isSetupClient, } ) { const { getCurrencyConfig } = this.context; @@ -252,6 +257,7 @@ class BusinessDetails extends Component { revenue, used_platform: otherPlatform, used_platform_name: otherPlatformName, + setup_client: isSetupClient, } ); } @@ -392,7 +398,22 @@ class BusinessDetails extends Component { ) } - + + +
+ +
+
+
+