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
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