Home › Forums › Ticket Products › Event Tickets Plus › Moving attendee to new ticket type
- This topic has 5 replies, 4 voices, and was last updated 9 years, 5 months ago by
Kathrine Fraser.
-
AuthorPosts
-
November 14, 2016 at 11:29 am #1192023
Kathrine Fraser
ParticipantHi – we have a fixed number of places on our course, and when this is Full, students are able to “buy” a free waiting list space. If a space comes available, we then move the student from the free ticket to the paid one, and then manually send them a Woocommerce invoice for their fees.
Is there a way to stop the automated email “Important changes to your tickets” being sent when they are moved between the ticket types?
ThanksImportant changes to your tickets
We wanted to let you know that a ticket you purchased for xxxxxxxxx has been transfered to xxxxxxxxxxxx. Your ticket remains valid and no further action is needed on your part:
xxxxxxxxxxxxxNovember 15, 2016 at 7:03 am #1192396Andras
KeymasterHi Kathrine,
Thanks for using our plugins and welcome to the forums! Great question!
At the moment we don’t have a solution that would stop only that email, which is sent when you move an attendee.
I can share with you a solution that should prevent both the ticket email and the “move” email as well. You can find it in this thread:
Let me know how that works out for you.
Thanks and cheers,
AndrasNovember 15, 2016 at 7:56 pm #1192927Kathrine Fraser
ParticipantThanks for this – I was already stopping the ticket emails with:
function wootickets_email_no_no() { return 'no'; } add_filter( 'wootickets-tickets-email-enabled', 'wootickets_email_no_no' ); /* WooCommerce Tickets - Hide You'll receive your tickets in another email. */ add_filter('wootickets_email_message', 'woo_tickets_filter_completed_order', 10 ); function woo_tickets_filter_completed_order($text) { $text = ""; return $text; }So have deleted this and replaced it with
/* * Events Tickets Plus - WooCommerce Tickets - Prevent Ticket Email from being sent. * @ Version 4.0 */ add_action( 'init', 'wootickets_stop_sending_email' ); function wootickets_stop_sending_email() { if ( class_exists( 'Tribe__Tickets_Plus__Commerce__WooCommerce__Main' ) ) { $woo = Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance(); remove_filter( 'woocommerce_email_classes', array( $woo, 'add_email_class_to_woocommerce' ) ); add_action( 'woocommerce_email_after_order_table', array( $woo, 'add_tickets_msg_to_email' ) ); } }Unfortunately, the “Important changes to your tickets” is still sending… if you are able to let me know if I am doing something wrong it would be appreciated.
November 16, 2016 at 1:28 pm #1193452Andras
KeymasterHello Kathrine,
I’m sorry to keep you waiting this long. I needed to pull in some help to get a solution for this.
So the above should stop the ticket email. If you want that functionality, then leave that snippet where it is.
In order to stop the emails about the change, than also add this snippet to your functions.php file:
https://gist.github.com/elimn/6bde40a8b14444bb76700d9f225f9ccf
Note, in the return line where you see the blackhole@ email address, it is best to replace that with something that is under the same domain as the website. Preferably a blackhole email address: basically an email address that exists but nobody reads or emails get automatically deleted. Something like [email protected]. You can contact the IT dept to give you one.
Please try this and let me know how it works out for you.
Cheers,
AndrasDecember 8, 2016 at 8:35 am #1203174Support 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 ‘Moving attendee to new ticket type’ is closed to new replies.
