Events Made Easy › Forums › How do I … › How to limit total tickets per user to 1?
- This topic has 5 replies, 2 voices, and was last updated 10 years, 3 months ago by
Anonymous.
-
AuthorPosts
-
Tue 8 Sep 2015 at 09:54 #54778
Anonymous
InactiveHi everyone.
I’m kind of new to WP and the EME plugin.I am trying to help out a local car club that put on a charity event every Easter.
They need a way to allow people to pre register for the event and then if approved, purchase their ticket (limited to 1 per user). In past years they have done all this manually but this year thay have more than doubled the tickets available. And with around 10000 registrations expected it’s not practical.Does anyone know how I can limit the total number of tickets any user can buy in total?
I can obviously limit a single purchase to 1 but I can not seem to stop users making multiple purchases.Thanks
Tue 8 Sep 2015 at 22:47 #54780Franky
KeymasterHow about just not showing the rsvp form if they already registered? The placeholder #_ADDBOOKINGFORM_IF_NOT_REGISTERED is there for that reason.
Wed 9 Sep 2015 at 21:14 #54817Anonymous
InactiveThanks Franky… not working as I expected…
So I have set #_ADDBOOKINGFORM_IF_NOT_REGISTERED in EME/Settings/Events/Default single event format/
I have set RSVP in the event to Auto-approve registration upon payment & Require WP membership for registrationWhen a user registers for the event (they are pointed to the event permalink on login) the page refreshes to the same page with the form hidden.. it does not show the pay now screen or move onto paypal..
With only #_ADDBOOKINGFORM in EME/Settings/Events/Default single event format/ the option to pay is displayed and /or the user can move to paypal..
I was expecting #_ADDBOOKINGFORM_IF_NOT_REGISTERED to only block the event registration once payment was complete as with Auto-approve registration upon payment selected I assume a user is not registerd until paypal returns a success on payment..
Have I missed something here or am I wrong?
Thanks
Wed 9 Sep 2015 at 23:06 #54820Franky
KeymasterHmmm … I need to check that. But I can tell that a user is registered even before paying (which is logical).
Wed 9 Sep 2015 at 23:40 #54822Franky
KeymasterCould you check if this changeset solves it for you (apply the marked differences, not download the whole files):
http://plugins.trac.wordpress.org/changeset/1241961Thu 10 Sep 2015 at 17:42 #54841Anonymous
InactiveThanks Franky, you are a genius..!
This is going to get a real test over the next few weeks and months.. I’ll keep you informed..
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.