Disabling Email tickets from being sent

Home Forums Ticket Products Event Tickets Plus Disabling Email tickets from being sent

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #749157
    velveeta42
    Participant

    As 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!

    #750755
    Barry
    Member

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

    #750824
    velveeta42
    Participant

    I 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!

    #751371
    Barry
    Member

    Happy 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?

    #794311
    Barry
    Member

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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Disabling Email tickets from being sent’ is closed to new replies.