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.
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).
Viewing 1 reply thread
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.