Posted: April 14, 2017 at 12:57 am
Hello EE Support, I hope you can help me with my issue using: EE4.9.31 / WP 4.7.3 I created a private free event. No payment gateway used. • Adults Max tickets Adults + Children = 8 including the Primary registrant All subscribers are imported thru a CSV. About 900 people. No one outside (unknown) can register to WP or even see the content of this site. Our private subscribers must login to WP and register to the event. When a Primary registrant has registerd and is redirected to the thank you page, I set a value in WP UserMeta table, hasTickets = true. This because we want in base that a Primary registrant only makes one registration with a total of 8 attendees. So when hasTickets = true and they go again to the event page: That is working fine but there are exceptions. Now it comes: So if a Primary registrant only needs 3 extra tickets we do not want to give access to the default 8 again. Max of extra tickets for a primary registrant above the 8 are 12 tickets. Is this possible to realize? Hopefully I explained my situation well. Thanks, |
|
Hi Roland, What you could do is create a new ticket type in the ticket editor and label it Extra Tickets. Then under Ticket Details you’ll set its Maximum Quantity to 3. Then you’ll hide the Extra Tickets row for user accounts that don’t have the usermeta hasTickets = true by using the Then at the point where they register for the extra tickets, you’ll probably want to add another usermeta field hasExtraTickets and add your extra logic accordingly. |
|
Hi Josh, Thanks for quick reply. This may work but I realize what you describe I have to make 12 extra tickets available. Meaning:
and depending on which subscriber needs one of these extra tickets options I have to point the right one to this specific subscriber. Is that correct? Tried using the filter hook but all tickets rows are not showing now. Thanks, |
|
Hi Josh, I was Looking further around in the ticket section. And showing these specific subscriber to the right extra tickets possibility. What do you think? |
|
Yeah if you go with the route of the ticket capability requirement, you’ll save yourself some development time. The ticket capability requirement feature actually uses that same filter hook I mentioned earlier. One thing to keep in mind though, when you add the capability to get extra tickets, you’ll also probably want to remove the capability that let them initially get tickets (so they can’t attempt to get 8 more tickets). I think you’ll only need one ticket (not 12), because you’ll set its maximum field to 3. So the returning ticket buyer will be able to select a maximum quantity of 3 tickets. |
|
Maybe I’m not clear Josh or doesn’t understand what you mean by only need one extra ticket with the max quantity of 3. Let me explain. It’s a private event and people are know guests. So one ticket with max field to 3 isn’t enough if they want for example 12 tickets. |
|
Oh I see, so you we’re just using an example of what if they want 3 more earlier, but they could be requesting up to 12 more tickets. What you could do then is create 12 different ticket types where the max and minimum goes from 1 to 12 for each ticket, and you’ll give them the capability to access only the ticket they’re approved for. |
|
Yes that right Josh. So you think I can use: WP User Capability required for purchasing this ticket Is this option checking only the default roles and capabilities from WP or can I create 12 random meta keys for the extra ticket subcribers? |
|
You’d need 12 new unique WP capabilities for each of the 12 ticket options. |
|
Hi Josh, With the 12 unique WP capabilities is working fine. I created 12 unique roles (using Members plugin) with capabilities like extra_ticket_01 till extra_ticket_012 so I can select them in the User Profile. Couldn’t find so quick a possibility to select Capabilities in the User Profile. What I noticed as I think you mentioned earlier is that the total max available is 8. So the extra tickets option from 9 to 12 is showing only 8 in the dropdown. The others are good. That sounds logic. We close the logins by our self and when somebody need extra tickets we give only access to that specific subscriber(s). Can I raise the total max. of tickets to 12 in the event so the dropdown from 9 till 12 is showing the right Quantity after closing the logins? Is there something to keep in mind in this? Thanks! |
|
If you raise the total max of tickets to 12 for the event, you won’t have your limit of 8 anymore, it will be 12. |
|
Because we are manual closing the login for the subscribers, no one can login anymore. The event thereby is still active. By selecting the extra ticket Role/Capability for some specific subscribers and activate there account again, they can login again for a extra ticket option (1…12). Only the extra ticket option is showed here. All of those tickets has there own QTY set (1…12) as you indicated. So do I understand this correct that changing from 8 to 12 limit for only those subscribers that need extra tickets and only those subscribers may login again, will not interfere the event further? |
|
I think you’ll need to test this because I’m not clear about what your mechanism is for changing the limit for only those subscribers that need extra tickets. |
|
The support post ‘Extra tickets for primary registrants’ 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.