Home › Forums › Ticket Products › Event Tickets Plus › Add content to ticket email body
- This topic has 6 replies, 6 voices, and was last updated 8 years, 9 months ago by Support Droid.
-
AuthorPosts
-
May 8, 2015 at 3:53 pm #961590Carrie ChristensenParticipant
Hello!
I’m trying to add a short message to the body of the ticket email (ie “This is your confirmation. Please print this e-mail and bring it to the event with you…”). I have a copy of class-ticket-email.php in my theme folder, but I don’t understand the plugin code well enough to know how to do this.
Any help greatly appreciated!
May 8, 2015 at 6:28 pm #961594CarlosParticipantFacing a similar problem. Help will be appreciated. Carlos
May 9, 2015 at 10:40 am #961623JamiBlockedThat’s a great question. Brian gave some guidance on that forum thread on how to edit the email message text with a filter that you can add to your theme’s functions.php file.
You won’t be able to add class-ticket-email.php to your theme folder and edit it like you would other theme template files. The template file that you can place in your theme with WooCommerce Tickets is:
/views/wootickets/tickets.php
That template is for the ticket form at the bottom of the cooresponding event.
Let me know if you have any other questions or if I can help with anything else.
Kind Regards,
JamiMay 14, 2015 at 3:27 pm #962775Carrie ChristensenParticipantJami, thanks so much for your reply!
The thread you referenced actually discusses making changes to the order completion e-mail, but what I’m wondering about is the ticket e-mail. I need to actually add a message to it, rather than just change the styling. Any other ideas?
Thanks!
May 18, 2015 at 3:18 pm #963456RobMemberHi there folks! My apologies for the delayed reply here; Jami has unfortunately left us and we didn’t notice this thread was due a reply until now. I wanted to let you know this has been delegated elsewhere and another team member should be replying shortly. We appreciate your patience so far.
May 18, 2015 at 10:26 pm #963509BrookParticipantThanks for bearing with us Jeff. What you want is definitely possible. It’s actually just a simple theme override, and we have a guide for making those here.
The file you want to override is actually in /the-events-calendar/, not the /wootickets/ folder. Here is the full reference: /wp-content/plugins/the-events-calendar/views/tickets/email.php
That file is the entire HTML email that’s send out and it contains the tickets in it. So you can modify any part of that email by overriding this file as per the guide above.
Does that make sense? Are you able to get it working now? Cheers!
– BrookJuly 7, 2015 at 6:32 am #984165Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Add content to ticket email body’ is closed to new replies.