Posted: February 17, 2014 at 5:42 am
|
Hello, I was searching the forum for help with my ticket price displays and found this: https://eventespresso.com/topic/multiple-ticket-price-display-defaults/ The suggestion solved the issue and now the event with multiple ticket prices is showing the lowest one by default. Here is what I did: In event_list_display.php you can replace: <?php echo $org_options[‘currency_symbol’].$event->event_cost; ?> with <?php echo $org_options[‘currency_symbol’].do_shortcode(‘[EVENT_PRICE event_id=”‘.$event_id.'” number=”0″]’); ?> However, after doing that it is displaying all ticket prices including the surcharge. So instead of $29 it is showing $32.77. Before I made this change it was displaying as $29. Can someone tell me what I need to alter to correct this? My events listing is at http://www.contentmasteryguide.com/events and the event with three ticket prices is the third one down (http://www.contentmasteryguide.com/events?ee=1). Thank you! |
|
Hi Linda, it just so happens that I have some code to let you do that. It adds a new shortcode, EVENT_PRICE_SANS_SURCHARGE, which you would use just like the EVENT_PRICE shortcode. |
|
Thank you so much Sidney! This is getting beyond my capability so I am going to put my web team on it from this point, but I have sent them your thorough instructions and I am so grateful to hear this is available. Have a great day, |
|
Please let us know if you require any further assistance. |
|
I will, thank you so much! |
Since this topic is resolved, I am going to close it. If you have anymore questions or issues, please start a new topic and we will be happy to help there. 🙂 |
|
The support post ‘Display price before surcharge’ 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.