• Resolved sandornemeth

    (@sandornemeth)


    Hi there,

    On our test enviroment, we have a booking page, where the booking plugin passes customer info (email, name, phone number) to the woocommerce checkout process.

    We will only sell virtual products. No shiping is required.

    Since the email address is already pre populated on the Fluid checkout, the first step is collapsed, therefore customer doesn’t see that the “Create account password” field is left empty.

    Please see page link below to see the behaviour:
    https://wordpress-683164-2837135.cloudwaysapps.com/booking-page/
    1. fill out booking form
    2. proceed to checkout
    3. see issue explained above.

    You need to click on Change button at the My contact section to set the necessary password:
    https://prnt.sc/Zs543c2eMFTS

    Is there a way to change this behavior, not to collapse the My contact section? If we want custoemrs to create their account during the checkout?

    Many thanks in advance!
    Kind Regards
    Sandor Nemeth

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Diego Versiani

    (@diegoversiani)

    Hi @sandornemeth,

    If account creation is optional and the email is already provided, the step will considered as completed as all required fields are already provided which is the expected behavior.

    In this case, I suggest you enable automatic account creation when completing an order, with the username and password fields being automatically generated.

    WooCommerce will then send an email to the customer with a link to set their password, as opposed to sending the password in plain text via email as one might think — at least this was the behavior the last time I checked this flow.

    It is also possible to set the “Contact” step as always “incomplete” but in this case if the customer refreshes the checkout page or re-visits it after leaving, they will always start from the first step as opposed to getting back to the step they where when they left.

    The data entered by the customer will still be saved, but they will have to click to advance to the next steps to reach where they were before.

    You can use the code snippet below to set the “Contact” step as always “incomplete” for guest customers:

    /**
     * Mark contact step as incomplete for guest customers.
     */
    function fluidcheckout_set_step_incomplete_guest_users( $is_complete ) {
    	// Bail if user is logged in
    	if ( is_user_logged_in() ) { return $is_complete; }
    	
    	return false;
    }
    add_filter( 'fc_is_step_complete_contact', 'fluidcheckout_set_step_incomplete_guest_users', 100 );

    If you are unsure about how to add the code snippet, check our article:
    How to safely add code snippets to your WooCommerce website

    Ideally though, the account creation should be moved to the order received page to avoid the customer having to make yet another decision during checkout.

    I’m planning to add this feature to the PRO version by the end of the year, together with another features (account matching) that will allow unlogged registered customers to complete the purchase without logging in and attaching the order to their account.

    In any case, I let you know once these features have been added.

    I’m closing this topic for now. If you need further assistance, please reply to this topic.

    Best,
    Diego

    Hi @sandornemeth .

    We recently released a new version of Fluid Checkout PRO which adds this new feature: Account Matching.

    You can purchase Fluid Checkout PRO to get access to this and many more great features.

    In case you already have Fluid Checkout PRO activated on your website, the updates should already be available from your website dashboard. You might need to update Fluid Checkout Lite as well.

    In case you don’t see the new updates on your website dashboard, please check our documentation: New versions updates are not appearing on my website.

    Best,
    Alan.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create account password field is collapsed, when email address is pre populated’ is closed to new replies.