Support

Home Forums Event Espresso Premium Limiting registrations by email and event

Limiting registrations by email and event

Posted: February 26, 2020 at 6:20 am

Viewing 1 reply thread


surfersforautism

February 26, 2020 at 6:20 am

We use one ticket type and limit ticket count (attendees) to 3. What we hadn’t realized is the same user can comeback to the event and register another 3 attendees. How do we implement a limitation based on event?

Thanks, Glenn


Tony

  • Support Staff

February 26, 2020 at 8:45 am

Hi Glenn,

This is not something officially support within Event Espresso, although we do have a snippet that shows how you can remove the ticket from the ticket selector for the logged-in user if they have a registration for that ticket already here:

https://gist.github.com/Pebblo/eabb317ca126f5b298eca78755f2cbd1

That is not going to work for your specific use case, but should give you an idea of how you can do the above if you are comfortable with PHP. You’ll need to read up a little on how to use our model system, you’ll find the docs available here:

https://github.com/eventespresso/event-espresso-core/blob/master/docs/G–Model-System/

Viewing 1 reply thread

The support post ‘Limiting registrations by email and event’ 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.

Event Espresso