Support

Home Forums Translations [EXPRESSO_EVENT] default displayed price option

[EXPRESSO_EVENT] default displayed price option

Posted: October 19, 2012 at 5:03 pm

Viewing 4 reply threads


Sean Bryan

October 19, 2012 at 5:03 pm

When I go to the page with the list of events, the displayed price keeps changing between the various pricing options. How do I either choose to not display the price or to display a particular price by default.

http://salesianstudies.org/programs/january-inter-sessions/event-registration/


Jonathan Wilson

October 19, 2012 at 6:18 pm

Sean, the default price will be the price that was added to the event last.

So, if you need the default to be something different than what it is, you might try deleting the prices from the event, then adding them back, with the price you want to default being the last one you add.

I hope this makes sense. Please let me know if you have anymore questions.


Sean Bryan

October 19, 2012 at 8:03 pm

I will try to see if that works, however, what doesn’t make sense to me is that it sometimes shows one price and sometimes shows another.


Sean Bryan

October 19, 2012 at 8:13 pm

this seemed to work for now, but now the default choice when choosing a pricing option is the first one created. Is there a way to default display an price on both the expresso_event page and on the price option drop-down?


Josh

  • Support Staff

October 22, 2012 at 7:34 am

Hi Sean,

You can alter the price that’s displayed in the event list by using the event price shortcode.
In event_list_display.php look for this:

<?php echo  $org_options['currency_symbol'].$event->event_cost; ?>

and replace with this:

<?php echo  $org_options['currency_symbol'].do_shortcode('[EVENT_PRICE event_id="'.$event_id.'" number="0"]'); ?>

The “0? at the end will make it display the first price entered. If you wanted to display the second price, change that to 1, third price would be 2, etc.

Viewing 4 reply threads

The support post ‘[EXPRESSO_EVENT] default displayed price option’ 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.

Event Espresso