Critter

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Is it possible to have fieldset options with prices? #1355571
    Critter
    Participant

    I’ve a post to disable tickets from hijacking the product so that I can use the additional plugin..

    that’s at least got me on the right track..

    in reply to: Is it possible to have fieldset options with prices? #1354976
    Critter
    Participant

    Jennifer – Is it known for sure that the product add-ons by woocommerce is compatible with Event Tickets Plus?

    in reply to: Re: splitting attendee name into separate fields. #1342568
    Critter
    Participant

    Ok… I figured out that I can get the ‘order id’ index by searching the first index of $items ($items[0]) for “Order ID”.

    $order_idx = array_search("Order ID", $items[0]);

    This allows me to pass it into the function later…

    $order = wc_get_order( (int) $attendee_record[$order_idx] );

    in reply to: ticket display is jacked (woocommerce) #1283919
    Critter
    Participant

    *sigh*
    it’s something with the avada-911 style.

    ignore me. ??

    Critter
    Participant

    I found a solution and modified it to fit my needs.

    function attendee_export_add_phone_split_name( $items ) {
        $count = 0;
     
        foreach ( $items as &$attendee_record ) {
            // Add the header columns
            if ( 1 === ++$count ) {
                $attendee_record[] = 'First Name';
                $attendee_record[] = 'Last Name';
                $attendee_record[] = 'Phone';
            }
            // Populate the new column in each subsequent row
            else {
                // order id is in the 6th index
                $order = wc_get_order( (int) $attendee_record[6] );
                $attendee_record[] = $order->billing_first_name;
                $attendee_record[] = $order->billing_last_name;
                $attendee_record[] = $order->billing_phone;
            }
        }
     
        return $items;
    }
     
    add_filter( 'tribe_events_tickets_attendees_csv_items', 'attendee_export_add_phone_split_name' );
    Critter
    Participant

    ugh. what a cluster. I’ve stripped out their function file in a dev copy. The page template does make calls to get_header() and get_footer(). The header.php file does call wp_head(). oh shit. I just found it.. their footer.php file does not call wp_footer(); Adding that fixed the issue. Hot damn. I think I am good to go. Thank you very much.

    Critter
    Participant

    Anyone have any suggestions? I’m not seeing any errors in the browser console.

    Critter
    Participant

    I went through and setup a copy of the site and switched out the theme. Upon doing that.. the additional info elements show as they are supposed to, but with their current theme they do not show.

    I’m not sure if something in their theme is missing or what…

    Do you have any suggestions on where to start?

    in reply to: Adding tickets only gives me the option of RSVP #1264158
    Critter
    Participant

    nevermind. *sigh* it might as well be monday.

Viewing 9 posts - 1 through 9 (of 9 total)