Customer Email Subject with Event Title or Ticket Title

Home Forums Ticket Products Event Tickets Plus Customer Email Subject with Event Title or Ticket Title

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1337366
    Karl Edy
    Participant

    Hi there,

    I try to add the Event Title or the Ticket Title but my code doesn’t work.

    add_filter( 'wootickets_ticket_email_subject', 'new_example_subject' );

    function new_example_subject( $subject ) {
    global $woocommerce, $post;
    $order = new WC_Order($post->ID);
    $order_id = trim(str_replace('#', '', $order->get_order_number()));

    $event_id = tribe_get_events_title_id( $order_id );
    return $event_id;
    }

    any help?

    Thanks

    #1338295
    Shelby
    Participant

    Hey Karl,

    Thanks for posting, & I’m happy to help. 🙂

    Unfortunately, this kind of request would require some customization that we can’t provide on these forums. These forums are intended to troubleshoot issues and field bug reports with our plugins as configured with the latest version of WordPress, WordPress default themes, and our suite of plugins with their out of the box features.

    However, we do have some resources for making changes yourself here. If you need to find someone to help with the customizations, we also have some tips for finding freelancers and other help here.

    Hope this helps, and thanks for understanding!

    Best,

    Shelby 🙂

    #1348140
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Customer Email Subject with Event Title or Ticket Title’ is closed to new replies.