Posted: February 25, 2025 at 8:07 pm
Hi, However if an existing user tries to check out with an email that already exists, the system asks him to either login or register with a different email address – are there any settings or customisations that can be done that will let a user checkout with an existing email address without asking him to login or asking him to register ? Many thanks |
|
Hi there, Yes, we have a filter to disable this so you’ll need to add a line of code to the site, this line to be specific: https://gist.github.com/joshfeck/1131145859a3fab58f4d#file-disable_email_match_everyone-php-L4 That will prevent EE from checking for the email and allow registrations. You can add that line to a custom functions plugin, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
Hi Tony, That is great, thank you for your reply By adding this function, it will still create new wordpress users for users with new email addresses though right ? It won’t disable that part of the functionality If you can please confirm I understand correctly Regards, |
|
Yes, that’s correct. That filter just disables the code that checks for a current user account and forces the login. Actually, if disabling that there another setting you should disable. Event Espresso -> Registration Form -> User integration settings. Set ‘Always sync contact information with WP user profile?’ to No and save. Becuase your disabling the check you ‘could’ sync your user account to different credentials now, so disable that option. |
|
Hi Tony, That’s awesome.. thanks very much for that Kind Regards, |
|
You’re most welcome 🙂 |
|
Sorry Tony, one more question In link that you have provided there are 2 functions – do I apply both of them or just the second one ? Regards, |
|
Its a little hard to see on Gists, but that link is reference Line 4 of second file, you just need this single line: https://monosnap.com/file/OhBTJoacZ0eLLEDBsczyS6sfF3nqVY The filter in the file above will disable the user match check only when logged out, the one I linked to disables it for all. |
|
The support post ‘WordPress User Integration’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.