Show lowest price in event list

Home Forums Ticket Products Event Tickets Plus Show lowest price in event list

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1364469
    Ivan Beemster
    Participant

    Hi! Is it possible to show the lowest ticket price in the event overview list, as opposed to the range? Thanks already!

    #1365060
    Jennifer
    Keymaster

    Hi Ivan!

    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!

    Thanks,

    Jennifer

    #1365170
    Ivan Beemster
    Participant

    Hi Jennifer,

    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?

    Thanks again!

    Ivan

    #1368254
    Jennifer
    Keymaster

    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.

    Let me know if that works better for you!

    Thanks,

    Jennifer

    #1383576
    Support Droid
    Keymaster

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Show lowest price in event list’ is closed to new replies.