Adding Ticket Name to Attendee Export

Home Forums Ticket Products Event Tickets Plus Adding Ticket Name to Attendee Export

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1445541
    Norman McKenzie
    Participant

    I was just wondering if there was a way to add the actual ticket name into the attendee export file, currently it just has the orderID and the Ticket# which aren’t quite as helpful for telling what ticket type an attendee actually purchased.

    Any help would be appreciated.

    Cheers,

    #1447605

    Hi Norman,

    Thanks so much for reaching out!

    By default, this isn’t something that is a built-in function, but you can try altering the snippet in the following forum post to help you to achieve the results that you are looking for:

    https://theeventscalendar.com/support/forums/topic/add-attendee-telephone-number-to-attendee-list/

    I hope this helps, let me know how it goes!

     

    Thanks,

    Jaime

    #1448260
    Norman McKenzie
    Participant

    Thanks for the help,

    I’ve managed to rework that snippet and get the ticket name into export just beside the Order ID.

    if ( function_exists( 'tribe_is_event') ) {
    function tribe_953653_add_phone_to_attendee_list( $value, $item, $column ) {
    if ( 'order_id' != $column ) {
    return $value;
    }
    $ticket = $item['ticket'];
    if ( ! empty( $ticket ) ) {
    return $value . sprintf( ' - %s ', sanitize_text_field( $ticket ) );
    }
    return $value;
    }
    add_filter( 'tribe_events_tickets_attendees_table_column', 'tribe_953653_add_phone_to_attendee_list', 10, 3 );
    }

    #1448681

    Glad we could help, you are welcome back in our support forums any time!

    Since you marked this thread as Resolved, I am going to close this thread.

    Have a great weekend!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Adding Ticket Name to Attendee Export’ is closed to new replies.