Home › Forums › Ticket Products › Event Tickets Plus › Customize ticket email
- This topic has 8 replies, 2 voices, and was last updated 6 years, 1 month ago by salilou.
-
AuthorPosts
-
March 27, 2018 at 3:56 pm #1490126salilouParticipant
Hi
is it possible to customize the ticket email?
I would like to append some content.
Thank you for your support!March 29, 2018 at 6:22 am #1491573VictorKeymasterHi Hannes!
Thanks for getting in touch with us!
Yes, you can customize the ticket email by using one of the methods described in our Themer’s Guide > https://theeventscalendar.com/knowledgebase/themers-guide/
I hope that helps! Let me know if you have any follow up questions 🙂
Best,
VictorMarch 29, 2018 at 6:25 am #1491580salilouParticipantThank you!
I found out to customize the ticket email with the template /src/views/tickets/email.php.
Now I would like to display the event excerpt and/or the ticket description in this email.
Is this possible with php?
In the themes guide I have not found a list of such functions. Is there one?
Thank you!March 30, 2018 at 4:19 am #1492561VictorKeymasterHi Hannes!
Yes, that’s totally possible. You can make a template override of the email.php template file and use the following one to add the ticket description:
https://gist.github.com/vicskf/766700809bc3eb452977784d379bb2b4
Does it help? 🙂
Best,
VictorApril 2, 2018 at 5:30 am #1494147salilouParticipantThanks Victor!
You sent me version 4.6.1, but my version is 4.7 – is that ok?April 2, 2018 at 9:15 am #1494418VictorKeymasterGreat catch Hannes!
Indeed, there were a few small changes to the email template in Event Tickets 4.7.
I’ve just updated the gist to make sure it works with version 4.7.
Try it out and let me know if it works for you.
Thanks,
Victor.April 2, 2018 at 9:25 am #1494422salilouParticipantIt works – great job! Thank you 🙂
April 3, 2018 at 4:44 am #1495101VictorKeymasterThat’s great! Happy to be of help here. 🙂
I’ll go ahead and close this thread now, but as always, feel free to open a new topic if anything comes up and we’ll be happy to help.
Best,
Victor -
AuthorPosts
- The topic ‘Customize ticket email’ is closed to new replies.