Higest ticket price shown in event page

Home Forums Ticket Products Event Tickets Plus Higest ticket price shown in event page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #961323
    Mariano Aran
    Participant

    Hello,

    My event has three different ticket prices, but on the event page I can only see the highest price displayed.

    I would like either the lowest price displayed or the range of prices.

    Page here http://shop.lungfoundation.com.au/event/just-one-breath-gala-dinner/

    Could you please help me achieve that?

    thanks

    #961448
    Brian
    Member

    Hi,

    Thanks for using our plugins.

    I came up with a function that displays the prices in a range.

    It may not work in every case, but could be modified if need be.

    It looks like your site already has modifications so you may already have the template in your theme.

    So following our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    You want to move and edit this file in your theme:

    the-events-calendar\views\modules\meta\details.php

    There you want to replace this:

    <dd class=”tribe-events-event-cost”> <?php esc_html_e( tribe_get_formatted_cost() ) ?> </dd>

    With This:

    <dd class=”tribe-events-event-cost”><?php echo esc_html( get_tribe_woocommerce_tickets_price_range() ); ?></dd>

    Before you do that you will need to add the following to your theme’s function.php:

    https://gist.github.com/jesseeproductions/4adb6b034960c661c1e8

    Let me know how this works out.

    Thanks

    #962010
    Mariano Aran
    Participant

    Thanks Brian. This was very helpful! 🙂

    #962032
    kc22033
    Participant

    You’ll also want to make a similar change in single-event.php and any views your using in your calendar:

    — list\single-event.php
    — day\single-event.php

    #962040
    Mariano Aran
    Participant

    Got it! 🙂 Thanks!

    #962074
    Brian
    Member

    Thanks kc22033!

    Glad it helps marianoaran!

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Higest ticket price shown in event page’ is closed to new replies.