How to Stop Ticket Email from Sending? (Very Time-Sensitive)

Home Forums Ticket Products Event Tickets Plus How to Stop Ticket Email from Sending? (Very Time-Sensitive)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1129118
    Chris
    Participant

    Hi there,

    Since we are launching our new tickets first thing Tuesday morning, this is very time-sensitive…

    What is the current code to stop the second ticket email from sending? I’ve seen several versions here in the forum over the years, so would like to use the correct one. We don’t want any tickets emailed – we give them tickets in person later.

    Brian gave me code last year but said it wouldn’t work with newer versions if I upgraded (I was back on WooTickets then)…so I need the latest working code.

    Thank you!

    P.S. – BTW, after several years of using this plugin, it’d still be great if this was a checkbox option somewhere instead of having to use extra code in functions.php each time.

    #1129251
    Geoff
    Member

    Hey Chris,

    This snippet has been working for me:

    https://gist.github.com/geoffgraham/be22dc7c8d621081980b

    I agree — a checkbox would be awesome. We are working on some pretty cool new ways to help share snippets for The Events Calendar in the future that will make things like this much, much easier. It will take us a little bit of time to get there, but I think you’ll be as stoked as we are when that happens, so definitely stay tuned. 🙂

    Cheers and thanks for all your support!

    Geoff

    #1129353
    Chris
    Participant

    Hi Geoff,

    Thank you – I have a follow-up I should have mentioned before, too. What is the current code to make sure the “You’ll receive tickets in another email” language is halted/removed too? With the code fix last year from Brian there were two snippets he gave me. Here’s the outdated answer so you can see what I mean:

    https://theeventscalendar.com/support/forums/topic/how-to-stop-second-ticket-email-from-sending/

    Thank you again for your quick help on this.

    Chris

    #1129449
    Geoff
    Member

    Hey there, Chris!

    This part of the snippet Brian provided will still remove the text from the email confirmation:

    https://gist.github.com/geoffgraham/50b93c7db1791b213dedfa9ac7a01322

    Will that work for you as well? Please let me know. 🙂

    Cheers!
    Geoff

    #1135526
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to Stop Ticket Email from Sending? (Very Time-Sensitive)’ is closed to new replies.