Support

Home Forums Event Espresso Premium Event Espresso asking for email during registration

Event Espresso asking for email during registration

Posted: April 3, 2019 at 12:54 am


yogakeys

April 3, 2019 at 12:54 am

Hi, is there a way to remove this from occuring during a customer purchase?:

An error has occurred:
You have entered an email address that matches an existing user account in our system. If this is your email address, please log in before continuing your registration. Otherwise, register with a different email address.

I have unchecked the tick box for the event “Force Login For Registration” but I have still seeing the above error message?

Any way to remove this completely?

Thank you.


Josh

  • Support Staff

April 3, 2019 at 6:54 am

Hi,

This is actually a feature of the WP User Integration add-on where it prompts anyone that already has a user account to log in. This ensures they’ll get the member-only pricing and/or their registration gets recorded to their user account.

If you want to use the other features of the WP User add-on, and just remove this one feature, you can add the following code to a site specific plugin:

add_filter( 
 'EED_WP_Users_SPCO__verify_user_access__perform_email_user_match_check',
 'ee_wp_users_remove_email_user_match_check_logged_out'
);
function ee_wp_users_remove_email_user_match_check_logged_out() {
    if ( ! is_user_logged_in() ) {
        return false;        
    } else {
        return true;
    }
}

You can add the above to a functions plugin, then activate the plugin for the code to take effect.


yogakeys

April 3, 2019 at 4:16 pm

Excellent support as usual. That worked, thanks.

The support post ‘Event Espresso asking for email during registration’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  yogakeys 4 months, 3 weeks ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!