I need to issue printable tickets for only certain events. Users sign up for many events in the same transaction, but I only want a printable ticket for one of these events. Some users would need to print 32 tickets in order to get the single event tickets that is needed.
I have tried to edit global ticket to no-html content and set the event that I do want a ticket issued to have ‘custom ticket’ html to have content. This however, does not work. I have also tried leaving global to normal and assigning a ‘custom ticket’ of no-ticket-content to other events. But this does not work either.
I will have 60+ disabled individuals standing in the cold tomorrow if I can’t get them a printable ticket 🙁
Depending on how you have things set up, this may be one solution you can use:
At the top of the default HTML ticket template, there’s an opening div:
<div class="outside>
You can add a little “hook” to that div to identify the event that the ticket is for by changing the above to:
<div class="outside event-id-[EVENT_ID]">
Now you have a means to hide/show tickets based on the event ID. So for example, at the very top of the ticket template, you can add something like this:
What this will do is only show the ticket for event 123. The other tickets will not be displayed if you’re using the [TXN_TICKETS_URL] short code or equivalent short code.
Viewing 2 reply threads
The support post ‘EE4 Printable Tickets for only certain events’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.