Home › Forums › Ticket Products › Event Tickets Plus › Connect ticket/attendee list to event
- This topic has 5 replies, 4 voices, and was last updated 9 years, 2 months ago by
Hope.
-
AuthorPosts
-
January 12, 2017 at 11:48 am #1217605
Hope
ParticipantHi there,
I’m using Event Calendar Pro + Tickets Pro with EDD for event management. All is working well when I create a Ticket within an Event: an attendee list is created for the event, and I can view attendees details with the ability to check them in, etc.
One caveat we’ve run in to: When creating a ticket via EDD, we cannot backtrack and connect that ticket to an event, and therefore no attendee list is created. (We can, of course, see the sales log for that ticket). On the events page there is only the option to Add a New Ticket, but we’d like to Connect an Existing Ticket. The goal is just to have that Attendee List for the event.
Is this an option, somewhere? Or, what would it take to be able to connect this data?
As a background, in this situation we’re adding the Ticket to the Event via a ticket shortcode in the main content area. We have member/non-member pricing for users, so we’re using shortcodes (from a different membership plugin) to hide the Member ticket.
January 13, 2017 at 1:28 pm #1218351Nico
MemberHi there Hope,
Thanks for getting in touch with us! Interesting question here π
There’s no option in our plugins to connect an existing ticket to an event. But this can be done by code, basically there’s a meta value attached to the EDD product that holds the corresponding event id. The field key is _tribe_eddticket_for_event. By using update_post_meta function you can insert/update the event ID for any given product.
update_post_meta($product_id, '_tribe_eddticket_for_event', $event_id);
Please let me know if that helps,
Best,
NicoJanuary 26, 2017 at 5:17 pm #1224829Hope
ParticipantHi Nico,
Thanks for your response!
I’ve used update_post_meta successfully to connect an existing ticket to an event. Yay!
Initially, it’s looking like attendee info is not populating correctly (see attached screenshot — there should be about 60 listed). I’m sure this is because attendee data is captured when they actually register for the event.
I’m going to dig to this, but do you maybe have some pointers in where I could figure out how to get the data to display correctly? I do see this transient stored in the event’s postmeta with the : _transient_tribe_attendees – so I’m thinking it’s a matter of getting this attendee data from somewhere, and attaching it to it’s respective event. Does that sound about right?
January 31, 2017 at 6:36 pm #1227246Nico
MemberHey Hope,
Thanks for following up here and sorry for the delay in my reply!
Regarding the transients I believe you can clean those up using this plugin β Transients Manager, give this a try!
Initially, itβs looking like attendee info is not populating correctly (see attached screenshot β there should be about 60 listed). Iβm sure this is because attendee data is captured when they actually register for the event.
You mean the existing ticket had existing orders with attendee information? Attendee data is stored per ticket so not sure what you mean here. Can you please clarify a bit?
Thanks,
NicoFebruary 22, 2017 at 8:35 am #1243807Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Connect ticket/attendee list to event’ is closed to new replies.
