eo_get_event_capacity returning '0'

WordPress Event Management, Calendars & Registration Forums General Question eo_get_event_capacity returning '0'

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 9 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17949

    Hi, we’re hosting a “virtual convention” for a number of Role-Playing and Board Games, and Event Organiser has been a god-send.

    But I’ve got a strange problem. We’re outputting the event capacity and and tickets remaining data, using eo_get_event_capacity and eo_get_remaining_tickets_count and one of our events always returns ‘0’ for the event capacity. All our other events, from all categories, return both fields as expected, only this event.

    We are doing the output within the tickets loop in the eo-ticket-picker.php template and the code we are using to output the capacity is:

    eo_get_event_capacity($booking_form->get('event_id'));
    
    • Deleting and re-creating the event seems to have no effect, even when the event title and ticket name/count is changed.
    • Changing the number of tickets and “cap bookings” seems to have no effect, yet the remaining tickets count works fine.
    • Changing the venue also has no effect.
    • Again, this works perfectly in all events but this one.

    The problem event is located here: http://www.gamergeekend.org/events/event/civilization/

    All events can be found here: http://www.gamergeekend.org/events/

    Any help on figuring this out would be much appreciated.

    • This topic was modified 9 years, 8 months ago by  Robert Marsden.
    • This topic was modified 9 years, 8 months ago by  Robert Marsden.
    • This topic was modified 9 years, 8 months ago by  Robert Marsden.
    Robert Marsden
    #17965

    Hi Robert,

    Are you selling ‘by date’? If so, when you edit a ticket for the event there will be a datepicker. First ensure that the events date(s) are selected (blue) and secondly ensure you pass the occurrence ID to eo_get_event_capacity.

    If this doesn’t solve the problem for you, let me know as this may require deeper debugging,

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.