Conditionals in Tickets

Home Forums Ticket Products Event Tickets Plus Conditionals in Tickets

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1333318
    James Fountain
    Participant

    Hello,

    I am looking at adding a conditional statement to my tickets so that, depending on the event, a section of text is displayed. This is intended to give more information about an event once they have purchased a ticket to save manual labour of emailing everyone individually with this information once they’ve bought a ticket.

    So i’m looking to write something along the lines of: if event = x, then action y

    Could you advise what code is needed here? Or point me in the direction of where I can find this information?

    Thank you

    #1333662
    Shelby
    Participant

    Hi James,

    This customization makes a lot of sense and seems to be a great idea for your use case! It is a bit outside of the scope of the support that we provide on these forums. However, I’ll try to be as helpful as I can, so I went digging and found this Github code that may be a helpful starting point for writing conditional logic for our plugins.

    As always, it’s best practice to back up your site files prior to making changes like this, but hopefuly this gets you pointed in the right direction!

    Best,

    Shelby 🙂

     

    #1343725
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Conditionals in Tickets’ is closed to new replies.