Adding more information to email

Home Forums Ticket Products Event Tickets Plus Adding more information to email

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #858882
    rogeriosgarcia
    Participant

    I need to add to the ticket emailed the following fields: “Description of the Ticket” and “price”.

    How can I do this?

    Thank you and sorry for my lack of ability in the English language!

    #858884
    rogeriosgarcia
    Participant

    I’m sorry, but I forgot to mention that my doubt is regarding the WooCommerce Tickets

    #859994
    Geoff
    Member

    Hi there, João! Thanks for getting in touch and welcome to the forums. 🙂

    Great question. You can certainly customize the content of the email. You will want to create an override of the email.php file by:

    • <span style=”line-height: 13px;”>Copying the file at /wp-contnet/plugins/the-events-calendar/views/tickets/email.php</span>
    • Adding that file to your theme in a new directory called tribe-events/tickets

    Once you do that, you will have a new file in your theme folder located at /wp-content/[your-theme]/tribe-events/tickets/email.php. There is more information on overriding templates in our Themer’s Guide.

    You will use the_content()  for the description and tribe_get_cost() for the price. Where you place them and how you use those functions is something we will leave in your hands, but if you need more direction for how to use these functions, please refer to our documentation.

    Does this help answer your question? Please let me know. 🙂

    Cheers!
    Geoff

    #889262
    Geoff
    Member

    Hey there, João! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to open a new thread. We’d be happy to help. 🙂

    Cheers!
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Adding more information to email’ is closed to new replies.