Forum Replies Created
-
AuthorPosts
-
jb1987Participant
Sorry, the comment editor messed up the code snippet. Just copy the content of plugins/event-tickets-plus/src/views/tickets-plus/orders-edit-meta.php to the file in your theme, and comment the two lines I mentioned.
jb1987ParticipantHi Paula
I had the same problem just now and successfully found a workaround.
Here are the steps you need to do.
First, open the file plugins/attendee-data-editor/src/Main.php.
Then go to line 137 (or nearby), find the following snippet:foreach ( Tribe__Tickets__Tickets_View::instance()->get_event_attendees_by_order( $event_id ) as $order ) {
and replace it with:
foreach ( Tribe__Tickets__Tickets_View::instance()->get_event_attendees_by_order( $event_id, null, true ) as $order ) {
Save the file.
Next, create a new file: /tribe-events/tickets-plus/orders-edit-meta.php, and add the following snippet.
`
meta();
// if ( $meta->meta_enabled( $ticket->ID ) ) {
?>
<div class="tribe-event-tickets-plus-meta" id="tribe-event-tickets-plus-meta-ID ); ?>” data-ticket-id=”ID ); ?>”>
get_meta_fields_by_ticket( $ticket->ID );
foreach ( $meta_fields as $field ) {
echo $field->render( $attendee[‘attendee_id’] );
}
?><?php // }
`NOTE: I am using Event Tickets 4.6.3.1 and Event Tickets Plus 4.6.2. If you’re using a different version of the plugin, grab the content of orders-edit-meta.php from plugins/event-tickets-plus/src/views/tickets-plus/orders-edit-meta.php and comment the LAST line AND the following line:
if ( $meta->meta_enabled( $ticket->ID ) ) {
Hope it helps!
jb1987ParticipantHi Geoff, thanks a lot for the awesome explanation!
Does the team have any plan on releasing such feature? I found some people in the forum that have been requesting it too.
-
AuthorPosts