Home › Forums › Calendar Products › Events Calendar PRO › tickets standard email
- This topic has 7 replies, 4 voices, and was last updated 5 years, 10 months ago by Victor.
-
AuthorPosts
-
April 1, 2016 at 1:34 pm #1097232Birgit BauerParticipant
Hello, how/where can I choose not to send the tickets email to the customer? I just want to send a customized email directly form WooCommerce and then send a campaign via ActiveCampaign.
Now the tickets plugin sends an email with the QR code and all the infos which I don’t need.
April 4, 2016 at 6:34 am #1097832GeorgeParticipantHey @Birgit,
This unfortunately requires a bit of custom code at this time. Try adding the following code to your theme’s functions.php file:
add_action( 'init', 'tribe_dont_send_tickets_email' );function tribe_dont_send_tickets_email() {
remove_action( 'wootickets-send-tickets-email', array( 'Tribe__Tickets_Plus__Commerce__WooCommerce__Email', 'trigger' ) );
}
Cheers!
GeorgeApril 5, 2016 at 6:05 pm #1098717Birgit BauerParticipantHello George,
thank you for your help.
I added the code to my child themes functions.php but this didn’t do the trick.
Any other ideas I may try out?
Here is the functions.php for reference:
<?php // // Recommended way to include parent theme styles. // (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme) // add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', PHP_INT_MAX ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style') ); wp_enqueue_script( 'child-js', get_stylesheet_directory_uri() . '/js/custom.js', array( 'jquery' ), false, true ); } // // Your code goes below // // remove slug conflict admin notice if (class_exists('Tribe__Events__Admin__Notice__Archive_Slug_Conflict')) { remove_action( 'admin_init', array( Tribe__Events__Admin__Notice__Archive_Slug_Conflict::instance(), 'maybe_add_admin_notice' ) ); } // translations for eventscalendar add_filter('gettext', 'translate_text'); add_filter('ngettext', 'translate_text'); function translate_text($translated) { $translated = str_ireplace('Eintritt', 'Preis', $translated); $translated = str_ireplace('Karten', 'Teilnehmerplätze', $translated); return $translated; } add_action( 'init', 'tribe_dont_send_tickets_email' ); function tribe_dont_send_tickets_email() { remove_action( 'wootickets-send-tickets-email', array( 'Tribe__Tickets_Plus__Commerce__WooCommerce__Email', 'trigger' ) ); }
- This reply was modified 8 years, 1 month ago by Birgit Bauer.
April 6, 2016 at 11:17 pm #1099388GeorgeParticipantHey @Birgit,
I’m sorry about that—do you have any better luck with this snippet instead of the one I originally recommended? It’s slightly different but might do the job:
add_action( 'init', 'tribe_dont_send_tickets_email' );function tribe_dont_send_tickets_email() {
remove_all_actions( 'wootickets-send-tickets-email' );
}Thank you,
GeorgeApril 7, 2016 at 6:50 pm #1099906Birgit BauerParticipantHi George,
this code did work! Thank you!
April 8, 2016 at 8:50 am #1100075GeorgeParticipant😀
May 26, 2016 at 4:16 pm #1119493LeahMemberHi there,
I just wanted to pop in here and give you an update. While we weren’t able to get this feature into our upcoming 4.2 release, it is still on our list of ideas to implement in future releases.
We appreciate your patience, and we will be sure to update this thread when we have more news. Thank you for your continued support, and keep an eye out for version 4.2 coming in the next few weeks!
Best,
Leah
and The Events Calendar teamJuly 10, 2018 at 3:18 pm #1572119VictorKeymasterHi Birgit!
Just wanted to share with you that a new release of our plugins is out, where we fully integrated the ticket emails into the existing WooCommerce Emails (WooCommerce > Settings > Emails)
Find out more about this release → https://theeventscalendar.com/maintenance-release-for-the-week-of-9-july-2018/
Please also note that we have subsequently shipped a hotfix for The Events Calendar, Events Calendar PRO and Event Tickets → https://theeventscalendar.com/announcing-the-events-calendar-4-6-20-1-events-calendar-pro-4-4-29-1-and-event-tickets-4-7-5-1/
We apologize for the long delay and appreciate your patience while we worked on this.
Please update the plugins and see if it works on your end. Don’t hesitate to open a new topic if anything comes up.
Best,
Victor -
AuthorPosts
- The topic ‘tickets standard email’ is closed to new replies.