• Resolved jwinston1776

    (@jordanwinston)


    I currently have 16 tickets available for a an event.
    I also have 4 waitlist/rsvp tickets.

    On the front-end it shows the RSVP/Waitlist and below it is hows the tickets so it’s confusing for the user.

    Id like it so that the Tickets show as there is availability and only when the tickets sell out, only then does the RSVP show up.

    At the moment it shows this: https://ibb.co/SQGgB50

    Does anyone have any insight into how to do this? I imagine some script could be written and applied that essentially tied into the event tickets and said “once the tickets go to 0 on an event” only then show the RSVP / Waitlist section on the page, but otherwise hide it. So, the RSVP/Waitlist section would just be hiddden by “display: none;” until the tickets reach 0 and then it shows display: block or similar.

    Does anyone know how to do this, or if it’s possible? If so, willing to hire someone too for the answer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @jordanwinston,
    Thanks for reaching out with this question.

    My suggestion is that you could create a custom template for this template part: wp-content/plugins/event-tickets/src/views/v2/rsvp.php

    You can do that by creating a copy of the file and placing it here: [your-theme]/tribe/tickets/v2/

    Once the file is in place you can customize it. The idea would be to use the method tribe_events_count_available_tickets() to get the count of available tickets. If it is = 0 then you render the RSVP block, otherwise you return false. We can add the condition to the If on line 24 or create a new If block following that one.

    Let me know if it works for you.

    Best
    Santiago

    Plugin Support Erica

    (@eeide)

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide RSVP/Waitlist Until Tickets are sold out’ is closed to new replies.