You can do this via a customization of either the template for that view (found at wp-content/plugins/the-events-calendar/src/views/list/single-event.php) under the Event cost section (starting on line 70) or by using the tribe_tickets_buy_button filter (see wp-content/plugins/event-tickets/src/template-tags/tickets.php, line 167). Our themer’s guide and list of functions are the best places to start!
Please let me know if you get stuck or have any questions – I’ll be happy to point you in the right direction!
The cost functions I can find (tribe_get_minimum_cost, tribe_get_maximum_cost, tribe_map_cost_array_callback) are all for finding the min/max cost for all events. Is there a function to retrieve just the lowest cost for an individual event?
Hi Ivan, sorry for the delayed response here! You could also grab all of the tickets for the event and check the prices manually – this post has some example code to help get you started.
Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team
Author
Posts
Viewing 5 posts - 1 through 5 (of 5 total)
The topic ‘Show lowest price in event list’ is closed to new replies.