Hey Joe, I was actually talking about this with a colleague and he offered a pretty nice solution that might work for you here.
Adding this snippet to your functions.php file should take take care of adding the event name next to a ticket in the shopping cart:
/**
Example for adding event data to WooCommerce checkout for Events Calendar tickets.
*/
add_filter( 'woocommerce_cart_item_name', 'example_testing', 10, 3 );
function example_testing( $title, $values, $cart_item_key ) {
$ticket_meta = get_post_meta( $values['product_id'] );
$event_id = absint( $ticket_meta['_tribe_wooticket_for_event'][0] );
if ( $event_id ) {
$title = sprintf( '%s for <a href="%s" target="_blank"><strong>%s</strong></a>', $title, get_permalink( $event_id ), get_the_title( $event_id ) );
}
return $title;
}
Try giving that a shot to see if it helps in this case. 🙂
Geoff