Home › Forums › Ticket Products › Event Tickets Plus › event ticket plus – ticket email optins
- This topic has 7 replies, 2 voices, and was last updated 10 years, 2 months ago by
Geoff B..
-
AuthorPosts
-
January 12, 2016 at 11:37 am #1054772
František Lipták
ParticipantHi there,
I would like to stop sending the ticket email with QR code after I change the status of the order to completed. For my situation, I do not need this as I will us a paid invoice as a proof of purchase. (By the way the fact that the order number and the ticket number is not the same is confusing).
I also need the text ‘You’ll receive your tickets in another email. ‘ stop appearing in both emails, ‘Order received’ and ‘Order completed’.
Can you please suggest a solution
Thank you
FeroJanuary 13, 2016 at 1:02 am #1055022Geoff B.
MemberGood evening and welcome back Fero,
Thank you for your questions and feedback.
I would like to stop sending the ticket email with QR code after I change the status of the order to completed.
To do that you will require some custom functions in your WordPress theme functions.php.
To get you started, I recommend taking a look at my colleague Brian’s work from a while ago.The function itself will not work with the current version of the plugins (function names have changed since then), but it should put you on the right track.
By the way the fact that the order number and the ticket number is not the same is confusing
You are right, some people find it confusing. That is because the ticket number is the ID of the ticket post type while the order number is the ID of the WooCommerce order).
The good news is that you can actually synchronize the numbers using a WooCommerce plugin.
I also need the text ‘You’ll receive your tickets in another email. ‘ stop appearing in both emails, ‘Order received’ and ‘Order completed’.
Please take a look at the advice I gave another customer on removing strings from emails.
I believe this will allow you to do just what you are looking for.
Let me know if that helps.
Have a great day!
Geoff B.
February 15, 2016 at 3:59 pm #1073472František Lipták
ParticipantHi Geoff, we tried to insert the code as per instructions on the below link, but it does not work. Can you please check whether is it correct and post an update.
February 15, 2016 at 9:36 pm #1073513Geoff B.
MemberGood evening František,
I have some great news for you. The code snippet that I told you needed to be updated has been updated!
You can grab it here and it should work:
Let me knows how that goes,
Have a great day!
Geoff B.
February 16, 2016 at 8:16 am #1073838František Lipták
ParticipantHi Geoff, it workds, thank you 🙂 . Does this override mean that I will have to insert the code each time I update the theme to new version?
February 16, 2016 at 2:29 pm #1074010Geoff B.
MemberGood evening Fero,
I’m glad to see this works for you. Kudos!
To answer your question, overrides usually have priority over the built-in functions. But to prevent these functions from being erased upon theme updates, I would recommend using a child theme.
Something else to keep in mind is that we do not officially support customization which means that if there is an important change in the way the Event Tickets Plus code works, it might break the snippet.
This is why, you are always better off testing any updates prior to applying them (just to be sure). Or at the very least do a backup of your plugins, theme and Database before you do 🙂
Have a great day!
Geoff B.
February 16, 2016 at 2:32 pm #1074012František Lipták
ParticipantOk thank you very much for your help
February 16, 2016 at 3:03 pm #1074022Geoff B.
MemberYou are very welcome and please come back to the forums if you have any further questions on other topics.
Geoff B.
-
AuthorPosts
- The topic ‘event ticket plus – ticket email optins’ is closed to new replies.
