tickets standard email

Home Forums Calendar Products Events Calendar PRO tickets standard email

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1097232
    Birgit Bauer
    Participant

    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.

    #1097832
    George
    Participant

    Hey @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!
    George

    #1098717
    Birgit Bauer
    Participant

    Hello 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.
    #1099388
    George
    Participant

    Hey @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,
    George

    #1099906
    Birgit Bauer
    Participant

    Hi George,

    this code did work! Thank you!

    #1100075
    George
    Participant

    😀

    #1119493
    Leah
    Member

    Hi 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 team

    #1572119
    Victor
    Keymaster

    Hi 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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘tickets standard email’ is closed to new replies.