Hide Inventory Stock

Home Forums Calendar Products Events Calendar PRO Hide Inventory Stock

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1410521
    Sarah
    Participant

    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.

    #1411345
    Jennifer
    Keymaster

    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

    #1416949
    Sarah
    Participant

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

    #1417710
    Jennifer
    Keymaster

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

    #1436006
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Hide Inventory Stock’ is closed to new replies.