event ticket plus – ticket email optins

Home Forums Ticket Products Event Tickets Plus event ticket plus – ticket email optins

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1054772
    František Lipták
    Participant

    Hi there,

    I would like to stop sending the ticket email with QR code after I change the status of the order to completed. For my situation, I do not need this as I will us a paid invoice as a proof of purchase. (By the way the fact that the order number and the ticket number is not the same is confusing).

    I also need the text ‘You’ll receive your tickets in another email. ‘ stop appearing in both emails, ‘Order received’ and ‘Order completed’.

    Can you please suggest a solution
    Thank you
    Fero

    #1055022
    Geoff B.
    Member

    Good evening and welcome back Fero,

    Thank you for your questions and feedback.

    I would like to stop sending the ticket email with QR code after I change the status of the order to completed.

    To do that you will require some custom functions in your WordPress theme functions.php.
    To get you started, I recommend taking a look at my colleague Brian’s work from a while ago.

    The function itself will not work with the current version of the plugins (function names have changed since then), but it should put you on the right track.

    By the way the fact that the order number and the ticket number is not the same is confusing

    You are right, some people find it confusing. That is because the ticket number is the ID of the ticket post type while the order number is the ID of the WooCommerce order).

    The good news is that you can actually synchronize the numbers using a WooCommerce plugin.

    I also need the text ‘You’ll receive your tickets in another email. ‘ stop appearing in both emails, ‘Order received’ and ‘Order completed’.

    Please take a look at the advice I gave another customer on removing strings from emails.

    I believe this will allow you to do just what you are looking for.

    Let me know if that helps.

    Have a great day!

    Geoff B.

     

    #1073472
    František Lipták
    Participant

    Hi Geoff, we tried to insert the code as per instructions on the below link, but it does not work. Can you please check whether is it correct and post an update.

    How to Stop Second Ticket Email from Sending?

    #1073513
    Geoff B.
    Member

    Good evening František,

    I have some great news for you. The code snippet that I told you needed to be updated has been updated!

    You can grab it here and it should work:

    https://gist.github.com/jesseeproductions/9ff8863230e5a05b9303#file-tribe-tickets-plus-prevent-emails-php

    Let me knows how that goes,

    Have a great day!

    Geoff B.

    #1073838
    František Lipták
    Participant

    Hi Geoff, it workds, thank you 🙂 . Does this override mean that I will have to insert the code each time I update the theme to new version?

    #1074010
    Geoff B.
    Member

    Good evening Fero,

    I’m glad to see this works for you. Kudos!

    To answer your question, overrides usually have priority over the built-in functions. But to prevent these functions from being erased upon theme updates, I would recommend using a child theme.

    Something else to keep in mind is that we do not officially support customization which means that if there is an important change in the way the Event Tickets Plus code works, it might break the snippet.

    This is why, you are always better off testing any updates prior to applying them (just to be sure). Or at the very least do a backup of your plugins, theme and Database before you do 🙂

    Have a great day!

    Geoff B.

     

    #1074012
    František Lipták
    Participant

    Ok thank you very much for your help

    #1074022
    Geoff B.
    Member

    You are very welcome and please come back to the forums if you have any further questions on other topics.

    Geoff B.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘event ticket plus – ticket email optins’ is closed to new replies.