Home › Forums › Ticket Products › Event Tickets Plus › Disabling Email tickets from being sent
- This topic has 4 replies, 2 voices, and was last updated 11 years, 6 months ago by
Barry.
-
AuthorPosts
-
September 17, 2014 at 1:56 pm #749157
velveeta42
ParticipantAs a workaround for tracking pay at the door attendees, I’m looking to disable tickets being emailed to all users. I still want them to get a confirmation of the order, but they don’t need to be emailed tickets.
I was given the following code to add to the functions.php file, which disables ALL emails. I only want to disable the actual ticket delivery, not the order confirmation.
add_filter( ‘wootickets-tickets-email-enabled’, ‘no_wooticket_emails’ );
function no_wooticket_emails() {
return ‘no’;
}Thanks!
September 18, 2014 at 8:38 am #750755Barry
MemberHi velveeta42,
Thanks for posting this as a separate thread: we genuinely appreciate it (and I’m sorry that fix didn’t work for you).
I’m afraid I can’t actually replicate the same problem. With that snippet in place the ticket email is blocked, but the order confirmation/receipt email is still dispatched.
Is it possible that one of the following are at play?
- The confirmation email is being sent but has found its way into your spam/junk folder
- There are problems with your hosting provider getting in the way (of course, if on removing that snippet things go back to normal that is unlikely to be the cause)
- You are testing this out on a pre-existing order and are simply changing the order status, rather than testing with fresh orders?
Let me know!
September 18, 2014 at 9:12 am #750824velveeta42
ParticipantI think I figured it out. After adding that code, I had to disable the “processing” email on the WooCommerce settings as well. It’s working as a usable workaround, but I’ll still add the feature to the list for “on hold” tickets/pay at the door to be better supported through the system. It’s not a common use case for actual products (inherent to WooCommerce) but is a common thing for event ticketing.
Thanks again!
September 18, 2014 at 12:59 pm #751371Barry
MemberHappy to help 🙂
I do see your point and, as ever, please don’t hesitate to post new feature requests (or add your support to any suitable existing requests) 🙂
Right now though I’m not sure there’s too much more we can do to assist with this one unless you have any further questions on the same topic?
October 7, 2014 at 8:57 am #794311Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
-
AuthorPosts
- The topic ‘Disabling Email tickets from being sent’ is closed to new replies.
