Tribe Events Tickets Sold

Home Forums Calendar Products Events Calendar PRO Tribe Events Tickets Sold

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1067758
    Dan Feeley
    Participant

    I know there’s a function to get the remaining tickets (tribe_events_count_available_tickets) of an event, any chance there is also one for getting the total tickets sold for an event?

    If not, is there anything I can query to get the total original stock?

    Thank you.

    #1068286
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    We have this plugin to show remaining ticket stock per ticket, you can download it from here:

    How do i display how many tickets are left?

    That has functions that you might be able to use.

    We do not have a global stock or ticket sold function. You might be able to grab each ticket and add them together.

    Let me know if you have any follow up questions.

    Thanks

    #1068635
    Dan Feeley
    Participant

    Thanks Brian,

    As it turns out I posted another question a couple of days ago to determine the type of ticket(s) attached to the event and Josh pointed me to this: Tribe__Tickets__Tickets::get_all_event_tickets( $event->ID );

    I noticed one of the elements retrieved was “qty_sold”. I was able to take that from each ticket and add it up for a total sold. Any reason that wouldn’t work properly?

    #1069140
    Brian
    Member

    That should work fine. I do not have any information that would say it would not.

    #1069211
    Dan Feeley
    Participant

    Great, thanks again.

    #1069269
    Brian
    Member

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Tribe Events Tickets Sold’ is closed to new replies.