I would like to restrict a single user from purchasing the same ticket more than once. I have already limited the number of tickets per transaction to 1, but this does not stop the same user from buying multiple identical tickets in multiple transactions.
I would still like the user to be able to buy other types of tickets on the same account in the future, but not multiple of a single ticket type.
I just saw this thread on the front page by accident. We wanted to have the same functionality and ended up doing some custom coding.
1. You need to store the ticket the user purchases during the registration process. During the registration process we write the ticket ID the user books to the user’s metadata.
2. Then you hook to “FHEE__ticket_selector_chart_template__do_ticket_inside_row”, which filters the ticket selector, and check there if the current user has already booked that ticket before (which is written to his metadata). If yes, hide the ticket or show a custom message.