• Hi, I am using the Event Ticket Plus with WooCommerce (https://theeventscalendar.com/products/wordpress-event-tickets/).
    
    I am using this code to fetch the attendee meta 
    "
    
    add_filter(
    
        "woe_fetch_order_products",
    
        function ($products, $order, $labels, $format, $static_vals) {
    
            $woo_provider = tribe('tickets-plus.commerce.woo');
    
            $attendees    = $woo_provider->get_attendees_by_id($order->get_id());
    
            if (!$attendees) return $products;
    
            $new_products = array();
    
            foreach ($order->get_items('line_item') as $pos => $item) {
    
                if (!isset($products[$pos])) continue;
    
                $added = 0;
    
                foreach ($attendees as $att) {
    
                    if ($att["product_id"] != $item->get_product_id()) continue;....
    $att["attendee_meta"]["name"] = $full_name;"
    
    We have added some addition fields for the attendee to fill in when they purchase the ticket (questions) (https://theeventscalendar.com/knowledgebase/attendee-registration-settings/).
    
    I am not sure how to retrieve those value to display it, and I can't display the total cost for each ticket in the report
    
    
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Display additonal fields for Attendee’ is closed to new replies.