Do not send ticket for certain tickets

Home Forums Ticket Products Event Tickets Plus Do not send ticket for certain tickets

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1105248
    Jacco
    Participant

    Hi all,

    I have an event coming up that sells two types of tickets. For one type they are going to ship wristbands. And for the other type they will use e-tickets.

    Is there any way I can make the system not sent e-tickets (with the QR code) for certain types of tickets within an event?

    #1105426
    Josh
    Participant

    Hey Jacco,

    Thanks for reaching out to us!

    Unfortunately there isn’t a way to handle this by default within the plugin settings.

    I’m limited in the support I’m able to provide here but I did want to give a little bit more information about a direction that I might pursue for something like this.

    If you take a look at the Email template within the Event Tickets Plus > src > Tribe > Commerce > WooCommerce > Email.php file, you can see that there is a conditional at the very top to see if the “Tribe__Tickets_Plus__WooCommerce__Email” class already exists. This means that you can create the class of the same name within your theme and it will supersede this one. From there you can copy this one and modify the “trigger” function to include the items in the order. You could then stop the send if specific items are in the order.

    I’m sorry I wasn’t able to give you a direct response here but hopefully it helps to get you pointed in the right direction.

    Thanks!

    #1111519
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Do not send ticket for certain tickets’ is closed to new replies.