Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
[EXPRESSO_EVENT] default displayed price option | Event Espresso - Staging Server

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

  • Support Staff

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

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.

Post any questions about the language files, translating Event Espresso, or issues with our GlotPress site for translations here.

Status: closed

Updated by Josh 12 years, 3 months ago ago

Topic Tags

Notifications

This topic is: resolved
Event Espresso - Staging Server