The Events Calendar = Stock not shown if tickets are not “Shared Capacity”
On the “Events” page in wp-admin, we use ACP to show the “custom fields” of “tribe_ticket_global_stock_level” and “tribe_ticket_capacity” so our client can see the Event’s Stock and Capacity easily.
The trouble is this : If the Event’s ticketing was not set up using the option “Share capacity with other Tickets” – Then the event is said not to use “Global Stock”, Therefore the column “tribe_ticket_global_stock_level” and “tribe_ticket_capacity” do not get populated on the Events page.
Are you able to integrate ACP with TEC so that it will get the actual stock of the tickets, instead of relying on “tribe_ticket_global_stock_level” – which may not be set depending on how the Event’s tickets were set up?
You may need to do some custom code leveraging :
Tribe__Tickets__Tickets::get_event_tickets( $event_id );
Tribe__Tickets__Tickets::get_event_attendees( $event_id );
Best Regards, G.
You must be logged in to reply to this topic.