• Resolved OptArt

    (@optart)


    function tribe_tickets_buy_button generates for RSVPS text lie 30 spots left.
    Problem – it shows for us always total stock. Not available stock.
    In admin panel it works fine – under /wp-admin/edit.php?post_type=tribe_events&page=tickets-attendees&event_id=XXX we get “22 RSVP’d Going (8 Remaining)”.
    We’re as well pro version users but that code comes from free plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter OptArt

    (@optart)

    the issue comes from difference between used in these two places functions

    
    		$types = Tribe__Tickets__Tickets::get_ticket_counts( $event_id );
    		$tickets = Tribe__Tickets__Tickets::get_event_tickets( $event_id );
    

    first contain wrong stock counts, second proper ones.
    we have made for ourselves fast workaround but it would be good to have it solved with next update

    Plugin Author Andras Guseo

    (@aguseo)

    Hey @optart,

    Thanks for getting in touch and flagging that issue.
    We are aware of this and a fix has already been developed, waiting to be released to the wild. It should happen later this week.

    Thanks again and much appreciated!

    Cheers,
    Andras

    Plugin Author Victor Zarranz

    (@vicskf)

    Hi There!

    Just wanted to share with you that a new maintenance release (for the Week of 3 December 2017) is out, including a fix for this issue 🙂

    Find out more about this release → https://theeventscalendar.com/maintenance-release-week-3-december-2017/

    Please update the plugins and let us know if the fix works for your site.

    Best,
    Victor

    Thread Starter OptArt

    (@optart)

    thanks!

    Hey @optart,

    We have not heard back from you on this one for a while now.
    Therefore I will assume this is now all working great on your end.

    You are welcome back in our support forums any time 🙂
    For now, I am going to close this thread.

    Have a great weekend!
    Geoff B.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wrong stock on lists’ is closed to new replies.