-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Closed
Labels
BugThe issue is a confirmed bug.The issue is a confirmed bug.OnboardingIssues related to the Customize Your Store onboarding flow.Issues related to the Customize Your Store onboarding flow.plugin: woocommerceIssues related to the WooCommerce Core plugin.Issues related to the WooCommerce Core plugin.
Description
Prerequisites
- I have carried out troubleshooting steps and I believe I have found a bug.
- I have searched for similar bugs in both open and closed issues and cannot find a duplicate.
Describe the bug
On the Store details page of the WooCommerce setup wizard, the email field becomes mandatory if the newsletter signup checkbox is checked. However, in this particular scenario, we do not disable the Continue button and the user is able to click it. Clicking on the Continue button triggers two errors
- There was a problem saving your store details
- Invalid email address
Expected behavior
Like the rest of the fields, I would expect that if the newsletter signup checkbox is checked AND the email textbox is empty, we disable the Continue button in addition to triggering the validation message under the email textbox.
Actual behavior
When the newsletter signup checkbox is checked AND the email textbox is kept null or empty, the Continue button is enabled and I can click it. Clicking the Continue button triggers a 400 error.
Steps to reproduce
- Go to the WooCommerce Setup Wizard >> Store details page (Step 1)
- Fill in details like Address, Country, City, and Postcode
- Check the
Get tips, product updates and inspiration straight to your mailbox.checkbox - Ensure the email textbox is empty
- Click on Continue
- Observe the errors on the screen
WordPress Environment
Isolating the problem
- I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
- This bug happens with a default WordPress theme active, or Storefront.
- I can reproduce this bug consistently using the steps above.
Metadata
Metadata
Assignees
Labels
BugThe issue is a confirmed bug.The issue is a confirmed bug.OnboardingIssues related to the Customize Your Store onboarding flow.Issues related to the Customize Your Store onboarding flow.plugin: woocommerceIssues related to the WooCommerce Core plugin.Issues related to the WooCommerce Core plugin.

