Home › Forums › Ticket Products › Event Tickets Plus › Attendee Name & EMail Not Showing in Separate Columns on Attendee List
- This topic has 3 replies, 4 voices, and was last updated 10 years ago by
Support Droid.
-
AuthorPosts
-
March 16, 2016 at 11:47 am #1089872
Barb
ParticipantHi!
I updated to Event Tickets, Event Tickets Plus, Events Calendar and Events Calendar Pro today. I have the Events Calendar: WooCommerce Tickets deactivated (but not deleted.)
I have not updated any other plug-ins since I updated to 4.1
When I went to look at my attendee list on-line (and to export the CSV file), I’m missing two column fields: Name & Email.
On the event screen, these are now showing under Ticket type and look like this:
TICKET TYPE
Purchased by: Customer (customer email)When I go do an export to CSV, all that shows is the Ticket Type – the 2nd line (Purchaser/Email) doesn’t show.
I need to export a list for my event by purchaser name and am not sure how to do this now.
Help!
March 17, 2016 at 11:35 am #1090453Barry
MemberHi Barb,
You’re not the first customer to hit up against this recent change and we’re sorry for the inconvenience. Perhaps this would help as an interim solution:
/**
* Adds email and name columns to the attendee export data (CSV only).
*
* Filters via the tribe_events_tickets_attendees_csv_items hook; intended for use
* with the initial 4.1 release of Event Tickets only.
*
* @param array $items
* @return array
*/
function attendee_export_add_purchaser_email_name( $items ) {
$count = 0;foreach ( $items as &$attendee_record ) {
// Add the header columns
if ( 1 === ++$count ) {
$attendee_record[] = 'Customer Email Address';
$attendee_record[] = 'Customer Name';
}
// Populate the new column in each subsequent row
else {
// Assumes that the order ID lives in the first column
$order = wc_get_order( (int) $attendee_record[0] );
$attendee_record[] = $order->billing_email;
$attendee_record[] = $order->billing_first_name . ' ' . $order->billing_last_name;
}
}return $items;
}add_filter( 'tribe_events_tickets_attendees_csv_items', 'attendee_export_add_purchaser_email_name' );
This could be added to a custom plugin file, for example, or else to your theme’s functions.php file if you are familiar and happy with that approach.
Does that work for you (until we can make a more substantive change in a future release)?
March 31, 2016 at 2:25 pm #1096662Geoff
MemberHey Barb,
Just wanted to follow up and let you know that we released version 4.1.1 last night and it included a fix for this issue. Please update to the latest version if you haven’t already and do let us know if you continue to see any issues from there. 🙂
Cheers and thanks for your patience while we worked on this!
Geoff
April 15, 2016 at 9:35 am #1103082Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Attendee Name & EMail Not Showing in Separate Columns on Attendee List’ is closed to new replies.
