However, we wouild like to have the limit of just 1 ordere of that particular ordered to ticket to max of 1 not only for that first order process, but in general. Thus, if the user tries to register for the same ticket again, it throws him an error (does not work).
Is this possible? If not, what are the starting points for a possbile custom development?
Would the user be logged into the site (in order to verify it’s the same user that’s already registered) or are these anonymous users that are not logged into the site?
good idea, but not feasable if you have a ton of different tickets, since you had to create a right for each ticket.
I thought about a solution that stores the userID + TicketID in the database and during the booking process this will get checked against. If the same combination (already book) already exists, then booking is denied.
I assume, there is no such solution yet. Which hooks would be the perfect place for checking and writing such data?
You wouldn’t use a hook to check against the user. Instead what you could do is write to user_meta when they originally register. Then you could use this hook to filter the output of the ticket selector: FHEE__ticket_selector_chart_template__do_ticket_inside_row
where you callback function would have to check user_meta to see if they’ve bought that ticket yet.
The support post ‘Allow only one registration per user per 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.
Support forum for Event Espresso 3 and Event Espresso 4.