Show remaining tickets

Home Forums Ticket Products Event Tickets Plus Show remaining tickets

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1364108
    Corinna Lassmann
    Participant

    Hello,

    I want to show remaining tickets in basic events overview (e.g. URL: https://www.orania-zentrum.de/events/category/veranstaltungen/ )
    How can this be done?

    Kind Regards
    Corinna

    #1364126
    Corinna Lassmann
    Participant

    it’s the list/single-event.php file

    #1364614
    Jennifer
    Keymaster

    Hi Corinna,

    Thanks for reaching out!

    The remaining tickets should actually be shown by default in the list view (see screenshot). Is this not the case for you? You can add in the remaining ticket count to any of your templates by adding the following PHP:

    <?php echo 'Tickets left: ' . tribe_events_count_available_tickets(); ?>

    First, you’ll want to copy the template you’re editing into your child theme by following these instructions, then you can add the PHP above.

    Please let me know if you have any questions!

    Thanks,

    Jennifer

    #1378059
    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 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Show remaining tickets’ is closed to new replies.