Home › Forums › Ticket Products › Event Tickets Plus › Different Content in Ticket-E-Mail and attached PDF-Tickets
- This topic has 3 replies, 2 voices, and was last updated 7 years, 7 months ago by
Andras.
-
AuthorPosts
-
September 18, 2018 at 10:35 pm #1624986
wz2018
ParticipantI would like to display a different content in the Ticket-Email and the PDF-Tickets.
How can I do this?PDFs should show only the complete tickets. Ticket-E-Mail should show a different text like: “Thank you for the order, please print the attached tickets.”
September 20, 2018 at 5:13 am #1626249Andras
KeymasterHi wz2018,
Thanks for reaching out!
Are you using our free Event Tickets Extension: PDF Tickets to get the PDFs generated?
In this case I’m afraid it is not possible to have a different content in the PDF than in the email. The extension basically generates a PDF from the email that goes out. I will check with the developer if anything can be done about this.
Please note though, that we do not support the extensions to the same degree as our mainstream products.
If you would like to change the content of the email then please refer to our Themer’s Guide – https://theeventscalendar.com/knowledgebase/themers-guide/
You will need to override
wp-content/plugins/event-tickets/src/views/tickets/email.php
Hope this helps.
Cheers,
AndrasSeptember 20, 2018 at 10:19 pm #1627047wz2018
Participant– “Are you using our free Event Tickets Extension: PDF Tickets to get the PDFs generated?”
– Yes, I am.
– “In this case I’m afraid it is not possible to have a different content in the PDF than in the email.”
– Is there another case where it would be possible?
– Is there another extension?
– Is there another way?I need the Tickets as PDF and I need an email with these PDFs that does not show the same content.
September 21, 2018 at 8:22 am #1627433Andras
KeymasterI’m not aware of any other way and at the moment there is no other extension.
I guess it would be possible with some custom development, however we do not have the bandwidth for that.
An idea that came to me now, you could modify the email template and add different css rules for screen and for print. When it shows on the screen then you don’t see the “Thank you for the order…” sentence. When it goes to print (pdf), then it doesn’t show what you don’t need.
Here’s some guidance on how you can do css media queries:
https://www.w3schools.com/cssref/css3_pr_mediaquery.asp
You will need ‘@media screen’ and ‘@media print’ I believe.
Hope this helps.
Cheers,
AndrasOctober 13, 2018 at 9:35 am #1642624Support Droid
KeymasterHey 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 -
AuthorPosts
- The topic ‘Different Content in Ticket-E-Mail and attached PDF-Tickets’ is closed to new replies.
