Remaining Inventory Not Showing for Tickets

Home Forums Ticket Products Event Tickets Plus Remaining Inventory Not Showing for Tickets

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #108163
    sbrinley
    Participant

    I have told WooCommerce to manage stock (inventory settings) and the Stock Display Format is set to “Always show stock.”

    This works for products (http://beesartshop.com/product/test-product-2/) but does not show for events (http://beesartshop.com/event/test-class/). For events it only shows once the ticket is out of stock. This has caused quite a bit of confusion.

    #108683
    Kelly
    Participant

    Hi, sbrinley. Great question! 🙂

    One of our devs here has created a WP Plugin that may help you with this. Here’s an example of how to use it in action: https://theeventscalendar.com/support/documentation/adding-sold-out-notices-for-woocommerce-tickets-in-list-view/

    Would you mind checking it out and seeing if that will give you the right tool for the job? Thanks!

    #108697
    sbrinley
    Participant

    It still shows “Out of Stock”. What I need is “3 out of 10 remaining”. This still works for products and used to work for tickets. It no longer works.

    #108699
    summukas
    Participant

    I need the same thing!

    And extra I need price of event. When I disable WooCommerce Tickets plugin and set Event cost, then it shows exactly what I need, but not with using this plugin.

    #108700
    summukas
    Participant

    Sorry for two comments. I am trying to add “available / all tickets” + “cost” to the category page. I have modified category page as I want it to be. There are all events (in table) of this category and link to specific event where it can be bought.

    Oh, by the way – sbrinley. You can alter tickets.php file to show Available tickets by adding this code to the table where tickets are being displayed (make sure you copy this file to your theme folder).
    echo “<td class=’tickets_description’> Available: “;
    echo $ticket->stock;
    echo “</td>”;

    #109205
    Kelly
    Participant

    Hi, sbrinley. Sorry for the delay in getting back to you. We had a higher than usual thread volume over the weekend and it’s set us back a bit in response time.

    This is definitely something that you could make happen using a template override of the tickets.php file. Please check out our Themer’s Guide, linked in the sidebar, for complete details on how to make that happen, if you’re not already familiar. Then, you can check out this example of one way to do it: http://pastebin.com/rX1SYDsc

    The addition of the inventory and count are in lines 92-94. Please play around with it and let me know if that does the trick!

    Thanks again for your patience! 🙂

     

    #109243
    summukas
    Participant

    It’s easy to display it on specific event page. Can it be displayed on category page (with modified theme)?

    #110738
    summukas
    Participant

    Anything?

    #111417
    sbrinley
    Participant

    This reply is private.

    #112046
    Kelly
    Participant

    Hi, sbrinley. First, I’m so glad to hear that things are going well for your site now. That’s great news! 🙂

    Thank you very much for the feedback. You’re absolutely right, and I’ll do my best to be more helpful in the future!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Remaining Inventory Not Showing for Tickets’ is closed to new replies.