Posted: October 17, 2017 at 3:38 pm
– We have free tickets for members, functions as an RSVP. Thank you. |
|
Hi there,
You can set a ticket to have a minimum required capability, so that only users that have that capability can purchase the ticket but we don’t have any feature to limit the purchase of a ticket to once per member. One solution Josh came up with when working with another user was to use capabilities on the users account and remove the capability when a ticket was purchased: https://gist.github.com/joshfeck/51c2ef122616b48cc4846b1f44384859 Note that would require you create a unique capability for each ticket you wanted to do the above for and to customize the function to remove the capability currently set on the ticket rather than a hard coded one.
Updating the information is expected, the WP User Integration add-on keeps your user account synced up with the registration details you enter. You can disable this within: Event Espresso -> Registration form -> User Integration settings -> Always sync contact information with WP user profile. Set that to No and save. Note that registrations made with a users account that do not match the users details will not show up in the ‘My Events’ section of the wp user integration add-on – https://eventespresso.com/product/eea-wp-user-integration/#espresso-my-events-shortcode |
|
Required Ticket option Create a unique capability Results Logged-in – ticket available, no limits, multiple log-outs an log-ins. Seems that the capability is not removed. And you’re correct, would have to create a unique capability dynamically for each ticket, if it worked.
Yes this is what I was looking for, couldn’t remember where to find it. |
|
The support post ‘Limit ticket purchase to one per logged user’ 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.