Show Ticket Description in tickets email

Home Forums Ticket Products Event Tickets Plus Show Ticket Description in tickets email

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1408331
    Marc
    Participant

    Hi, I’m trying to show the description in the tickets email. I’ve got the template in my child theme. (under Tickets > Advanced > Description)

    Can you provide the code to pull the description?

    #1409319
    Geoff B.
    Member

    Good evening Marc and welcome back!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    I believe this is exactly what you are looking for: https://gist.github.com/jesseeproductions/f97b79abe0458fc07a18

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1410262
    Marc
    Participant

    Thanks for finding this. Yes, this looks exactly like what I’m looking for. Sadly, its not working for me. I’ve tested by trying to echo out the variables. There is nothing there to echo, for even the initial $ticket_product_id.

    $ticket_product_id = get_post_meta( $ticket[‘ticket_id’], ‘_tribe_wooticket_product’, true );
    $ticket_product = get_post( $ticket_product_id );
    $ticket_description = $ticket_product->post_excerpt;

    Can you confirm that this is requesting the correct fields? I believe I’m looking for ‘ticket_description’ instead of “post_excerpt”. I did put an excerpt into the post just to check, but that didn’t work. I also switched that to ticket_description which also failed.
    And is it formatted correctly?

    Thanks in advance.

    Marc Simpson

    #1410352
    Marc
    Participant

    Thanks for finding this. Yes, this looks exactly like what I’m looking for. Sadly, its not working for me. I’ve tested by trying to echo out the variables. There is nothing there to echo, for even the initial $ticket_product_id.

    $ticket_product_id = get_post_meta( $ticket[‘ticket_id’], ‘_tribe_wooticket_product’, true );
    $ticket_product = get_post( $ticket_product_id );
    $ticket_description = $ticket_product->post_excerpt;

    Can you confirm that this is requesting the correct fields? I believe I’m looking for ‘ticket_description’ instead of “post_excerpt”. I did put an excerpt into the post just to check, but that didn’t work. I also switched that to ticket_description which also failed.
    And is it formatted correctly?

    Thanks in advance.

    Marc Simpson

    #1411438
    Geoff B.
    Member

    Good evening Marc,

    Thank you for taking the time to write back.

    I just double-checked and you might be on to something, the snippet is about a year old and we recently re-engineered our Tickets module.

    Most likely that makes the ticket deprecated.
    I will reach out to our coding ninjas to see if they can update it for you.

    With that in mind, due to holiday outages, that might take slightly longer than usual.
    We apologize for the inconvenience this might be creating.

    Hang tight as I follow-up on this for you.

    Geoff B.

    #1420549
    Marc
    Participant

    Hi Geoff,

    Thanks for digging into this. Any news yet?

    #1420865
    Geoff B.
    Member

    Good evening Marc,

    Impeccable timing.
    Full disclosure, getting my hands on a coding Ninja proved to be more difficult than expected because of the holidays.

    But I believe the following should work: https://gist.github.com/vicskf/766700809bc3eb452977784d379bb2b4

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1439799
    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 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Show Ticket Description in tickets email’ is closed to new replies.