Home Forums Event Espresso Premium prevent users from buying

prevent users from buying

Posted: January 16, 2020 at 12:53 am

January 16, 2020 at 12:53 am

We have two tickets per event, one being a member ticket, and another being a non-member ticket. Is there a way where we can prevent a member for purchasing a member ticket for a non-member?

IE. it needs to check whether the details entered for any additional member tickets exists in the users directory, and then give an error if it doesn’t.

Would this functionality be possible?


  • Support Staff

January 21, 2020 at 6:12 am

Hi there,

Yes, this would be possible but we don’t have anything that will do what you are requesting at this time so you would need some custom development.

We have the WP User integration add-on which sort of does the opposite of what you are looking to do in that if you you provide details in the registration form of a user account that exists in the site it will prevent the registration and require the user logs in.

So if you are comfortable with PHP you could take a look into how that add-on does that step in eea-user-intergration\EED_WP_Users_SPCO.module.php::verify_user_access() and essentially reverse the conditional (not within the add-on, in your own custom function).

The support post ‘prevent users from buying’ 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  Tony 4 months, 2 weeks ago ago

Topic Tags



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