Help Desk

Hide Inventory Stock

  • Posts: 1 Topics: 3
    | Permalink

    I’m trying to hide the inventory stock available from the public. No matter what I do I cannot get the remaining tickets available to be hidden from the events page. I’d like to continue managing stock because I only want to sell so many tickets, but I don’t want to show that 38 seats are remaining. Maybe if there were 5 seats left, but not more. I’ve even set the Woocommerce setting to never display stock.

    Posts: 2232
    | Permalink

    Hi Sarah,

    I’m sorry you’re having such a hard time hiding the ticket stock…can you try adding the following to the functions.php file of your child theme?

    add_filter( 'tribe_tickets_buy_button', '__return_empty_string' );

    Let me know if that helps!

    Thanks,

    Jennifer

    Posts: 1 Topics: 3
    | Permalink

    Thanks Jennifer! That line of code worked for me in my child theme.

    Posts: 2232
    | Permalink

    Perfect! If there’s anything else I can help with, please let me know : )

You must be logged in and hold an active support license to create new topics in the help desk. Please visit our products store to purchase a license.

Subscribe to Updates