• Resolved dylanpro

    (@dylanpro)


    If a customer goes through the checkout process with an email for the first time, a user/customer is created for that email. This user/customer creation relies on only the email, correct? For instance, if I go through the checkout process two times with everything the same except for the email address, two separate users/customers are created with similar information but different email addresses.

    If this is the default behavior, is there a way to change it to only create new customers if the name, street address, and email address are different?

Viewing 1 replies (of 1 total)
  • Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @dylanpro

    You’re correct in your understanding that WooCommerce creates a new customer account based on the email address used during the checkout process. If a customer goes through the checkout process twice with two different email addresses, two separate user/customer accounts will be created, even if all the other information is identical.

    As for your question about modifying this default behavior, unfortunately, there is no out-of-the-box feature in WooCommerce to change this. WooCommerce is designed to use the email address as the unique identifier for customer accounts, mainly because it’s the most common and reliable way to differentiate users.

    However, WooCommerce is highly customizable, and you could potentially achieve this by custom development. You would need to hire a developer or use a custom plugin to modify the user registration process. This would involve creating a custom function that checks the email address, name, and street address before creating a new user account.

    Unfortunately, custom coding is not something we can assist with directly. However, I’ll keep this thread open for a bit to see if anyone from the community can lend a hand.

    If you have any further questions on development or custom coding, don’t hesitate to reach out to some of the great resources we have available for support. Our WooCommerce community is brimming with skilled open-source developers who are active on the following channels:

    I hope this answers your question. If you have any further inquiries, please don’t hesitate to ask. Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Create new customers based on multiple fields’ is closed to new replies.