• Resolved Mayda

    (@maydaohio)


    I am using the latest version of the Events Calendar and Event Tickets (free versions). In Events Tickets there is an RSVP ticket description field, yet this text does not show on the RSVP email. Nor is it a placeholder token for {ticket_description} that can be inserted in the Additional Content area of the RSVP Email Settings. Any suggestions on how I can get some text or a bit of html from the RSVP or Ticket to show on the email without having to buy a premium plugin. This is rather basic.

    • This topic was modified 8 months, 2 weeks ago by Mayda. Reason: add a screenshot to the url page you need help with

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @maydaohio ,

    Thank you for reaching out.

    Kindly try the following custom code snippet (see Using Custom Code Snippets) and see if this works for you.

    // Add the ticket description in the email
    add_action( 'tribe_tickets_ticket_email_after_details', function( $ticket, $event ) {
    echo get_the_excerpt( $ticket['product_id'] );
    }, 10, 2);
    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that there hasn’t been any recent activity on this thread, so we’ll consider it resolved. However, if you have any additional questions or concerns, feel free to start a new thread.

    Thread Starter Mayda

    (@maydaohio)

    Thank you Tristan and Darian. Unfortunately the snippet did not add the text from the Ticket Description field in the RSVP. The info is entered on the RSVP editor as textarea input field with name=”ticket_description” class=”ticket_field ticket_form_right” id=”ticket_description”

    These are free events and I am only using the RSVP for now. I am leaving Unchecked the “Show description on frontend ticket form.” as I only want to send the info in the email after RSVP is submitted.

    I tried replacig product_id with ticket_description but that did not work. ??

    Plugin Support Darian

    (@d0153)

    Hi @maydaohio

    Thanks for your message. Let me check on this again, and I’ll let you know as soon as I have more information.

    Plugin Support Darian

    (@d0153)

    Hi @maydaohio

    Thanks for patiently waiting.

    Upon further testing, you can achieve this through a template override.

    Specifically, copy this file event-tickets/src/views/emails/template-parts/body/additional-content.php to [your-theme]/tribe/tickets/emails/template-parts/body/additional-content.php

    From there, add the following to line #41

    echo tribe_events_get_the_excerpt( $tickets[0]['product_id'] );

    See- https://share.zight.com/X6ujxXkw

    As always, please test it first on your staging site before applying to your live site.

    Let me know how it goes.

    Plugin Support Darian

    (@d0153)

    Hi @maydaohio

    I hope you’re doing well. I just wanted to touch base and check in with you. It’s been a little while since we’ve heard from you. I was just curious if you had the chance to try out the recommendation provided above.

    Let me know if there’s anything I can assist you with.

    Plugin Support Darian

    (@d0153)

    Hi there,

    This thread has been inactive for a while, so we’ll go ahead and mark it Resolved. Please open a new thread if any other questions arise, and we’d be happy to help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Event Tickets (free) RSVP email not displaying RSVP ticket_description text’ is closed to new replies.