Home › Forums › Ticket Products › Event Tickets Plus › "you'll receive your tickets in another mail"
- This topic has 6 replies, 3 voices, and was last updated 9 years, 3 months ago by
Cliff.
-
AuthorPosts
-
December 21, 2016 at 11:57 pm #1209360
Math
ParticipantHi
How do i remove the “you’ll receive your tickets in another mail” message? it appears on every email including cancelled or refund emails sent to ticket buyers.
Please video below
December 22, 2016 at 9:19 am #1209607Cliff
MemberHi, Math.
If you’re using WooCommerce, the appropriate filter to use is wootickets_email_message
This code comes from /wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php
apply_filters( 'wootickets_email_message', esc_html__( "You'll receive your tickets in another email.", 'event-tickets-plus' )Please reference the code at the end of this article: https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/
Please let me know if you have any follow-up questions on this topic.
December 25, 2016 at 8:16 am #1210460Math
ParticipantHi Cliff
I’m sorry but i don’t get what i need to do here.
December 29, 2016 at 10:27 am #1211472Cliff
MemberThere are 2 ways to totally change the text, either to nothing (what you said you wanted) or to something custom:
1) use the wootickets_email_message filter. This code snippet should do just what you want:
https://gist.github.com/jesseeproductions/6a9e0674d0f2c28def03
2) use the code snippet from the bottom of https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/ to use WordPress’ custom translation functionality for this string:
"You'll receive your tickets in another email."===
Either option will require a bit of custom code — I’d recommend Option 1 (sorry I didn’t think of it in my previous reply) — and welcome to WordPress customizing!
Best practice for adding custom code (like to implement a PHP snippet to modify The Events Calendar) is to create a functionality plugin, unless it’s something specific to your theme, in which case best practice is to make sure you’re using a child theme, then add the customization to your child theme’s functions.php file.
I hope this information helps!
December 29, 2016 at 1:58 pm #1211529Math
ParticipantHi Cliff
Thanks for getting back. Hope you had an awesome holiday.
I chose option one and it does the trick. Thanks again for great support.
December 30, 2016 at 8:39 am #1211821Cliff
MemberAwesome. Thanks for letting me know. Same to you! 🙂
-
AuthorPosts
- The topic ‘"you'll receive your tickets in another mail"’ is closed to new replies.
