How to Remove Stock Remaining Counter

Home Forums Ticket Products Event Tickets Plus How to Remove Stock Remaining Counter

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1281916
    Kyle
    Participant

    How can I remove the little display under each ticket that shows how many tickets are remaining?

    #1282417
    Victor
    Member

    Hi Kyle!

    Thanks for reaching out to us and for using our plugins! 🙂

    Let me help you with that.

    Assuming that you are using WooCommerce to sell your tickets, the I would suggest overriding the tickets.php template to make that happen. You can learn more about overriding calendar templates in our Themer’s Guide, but it basically boils down to this:

    • Make a copy of the tickets.php template. It is located at wp-content/plugins/event-ticket-plus/src/views/wootickets/tickets.php
    • Make a new folder in your theme called tribe-events
    • Make a new folder in that one called wootickets
    • Drop your copied tickets.php file in that last folder

    Now that the template is in your theme, you can modify it to suit your needs. In this case, you should delete or comment out the code from line 100 to 110. That’s where the remaining tickets are printed out.

    Will this work for you? Please let me know. 🙂

    Cheers!
    Victor.

    #1292428
    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 ‘How to Remove Stock Remaining Counter’ is closed to new replies.