woocommerce / woocommerce

A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
https://woocommerce.com
9.4k stars 10.76k forks source link

Field to create account password not present at Checkout #42430

Closed shevene closed 3 months ago

shevene commented 1 year ago

Describe the bug

New users do not get the option to create a password at checkout when using WooCommerce Blocks.

To reproduce

Steps to reproduce the behavior:

  1. Go to WooCommerce → Settings → Accounts & Privacy.
  2. Disable the setting for When creating an account, send the new user a link to set their password.
  3. Attempt to place an order as a new user, and you'll notice that there is no option to create a password.

Expected behavior

There should be an option to Create account password as there is with the[woocommerce_checkout] shortcode.

Environment

WordPress (please complete the following information):

Additional context

6042831-zen

mikejolley commented 1 year ago

Thanks for the report. We'll need to look into this. I know there are some improvements to the account creation flow being planned so we'll see if this needs adding in the interim. I've moved the issue to the backlog.

ralucaStan commented 1 year ago

woocommerce/woocommerce#42529 is related. @mikejolley it would help to have a screenshot of the shortcode behavior.

mikejolley commented 1 year ago

With this config in WooCommerce core:

Screenshot 2023-03-23 at 10 40 35

Shortcode gives you:

Screenshot 2023-03-23 at 10 40 42

Block gives you:

Screenshot 2023-03-23 at 10 40 58

This is not necessarily a bug because the functionality may not be desirable, but there is a mismatch between settings UI and Block Checkout.

brnhrst commented 11 months ago

Are you still planning to implement this important feature in Block Checkout?

We sell digital goods that we make available to our customers in their user accounts. We are also trying to build a community of our customers, i.e. support forum, comments etc. The free choice of username and/or password is essential for this and it is a pity that this option has been completely omitted from the block checkout, although the WooCommerce settings still suggest this functionality.

ralucaStan commented 11 months ago

Hello @brnhrst, thank you for reaching out and explaining your use case. This work is in the immediate pipeline for the Checkout blocks.

fredperes commented 10 months ago

This is sooo important! The workflow has a big flaw. The user finishes the purchase, receives an e-mail but don't know his password.

chrism245 commented 6 months ago

8044717-hc

nikkivias commented 5 months ago

Linking the working public file here that aims to address this and more

tomxygen commented 5 months ago

@nikkivias the mockups look brilliant, especially the ones found in Sections > Account/Contact. Both for the login/register page before checkout, and for the possibility to sign up after checkout. Has any work already begun to implement that?

ralucaStan commented 5 months ago

The work was not yet started, but it's something we're going to pick up soon. We'll create issues on the repo as soon as we start