WooTickets setting ticket to instock even with stock = 0

Home Forums Ticket Products Event Tickets Plus WooTickets setting ticket to instock even with stock = 0

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #78641
    studioseptember
    Participant

    In line 341 of class-wootickets.php the _stock_status is set to ‘instock’, even if ‘ticket_woo_stock’ == 0. I changed it to

    [code]
    update_post_meta( $ticket->ID, ‘_stock_status’, ($raw_data[‘ticket_woo_stock’]>0?’instock’:’outofstock’) );
    [/code]

    If this fix doesn’t break anything inside wootickets, please change the codebase to reflect this change, so I can auto-update without losing this change 🙂

    #78944
    Kelly
    Participant

    Hi, studioseptember. Thanks for the tip! 🙂

    I’ve passed this along to our dev team for review. We really appreciate the feedback!

    #92094
    Kelly
    Participant

    Hi, again, studioseptember! 🙂 I wanted to quickly followup here since it’s been several weeks.

    First of all, thank you for bringing this to our attention!  🙂 We’re definitely treating this as a bug, and we’re looking to incorporate a fix into the plugin as soon as we can.

    We always strive to update threads concerning bug reports post-release, so if you continue to monitor this thread, you will be alerted once the solution is in place.

    Thanks again for being part of the TEC community! 🙂

    #123883
    Barry
    Member

    Hi! We’ve now completed some work that ought to address this issue in our very next upcoming release. Thanks for your patience and if you do hit any further problems with this once you’ve updated please don’t hesitate to let us know in a new thread – thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘WooTickets setting ticket to instock even with stock = 0’ is closed to new replies.