It’s not possible out of the box. The order_by parameters that are available for the event list and event table shortcodes are listed here in the documentation:
If you are comfortable with editing PHP files, the template can be edited so the order_by will sort by price. Some examples of the code changes follow:
//before the query
$order_by = $order_by != 'NULL'? " ORDER BY ". $order_by ." ASC " : " ORDER BY ep.event_cost ASC ";
//in the main SELECT query (not the one for the category type)
$sql .= "LEFT JOIN " . EVENTS_PRICES_TABLE . " ep ON ep.event_id = e.id ";
Viewing 1 reply thread
The support post ‘Event table sorting by price’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.