Support

Home Forums Event Espresso Premium Event Registration Page not consistent with prices that are displayed

Event Registration Page not consistent with prices that are displayed

Posted: April 5, 2013 at 8:08 am


Carla Haight

April 5, 2013 at 8:08 am

wordpress 3.5.1, event espresso 3.1.31, this is a new installation. Registration Page url: http://henrygardens.com/class-registrations/. Payment for classes is either $10 for members or $25 for non-members. I do not have the membership add-on. I initially had the event price of $10 first for all classes. I changed each class to show the non-member price of $25, first and the member price second (people choose from the drop-down that is displayed). But, when the list of classes displays, all except one show the member price first rather than the non-member price first.


Josh

  • Support Staff

April 5, 2013 at 1:00 pm

Hi Carla,

The event list template grabs one of the prices and displays it. There is a way to change it to make it display the prices as a list. Here’s how:

There’s a custom function that Seth put together that will display the prices as a list in the list of classes.

Here’s a link to where you can find the code:

https://gist.github.com/sethshoultes/ab1e992668cf3166a686

The custom function can be copied and pasted into your WP theme’s functions.php file, then this can replace where it displays the single price in the event_list_display.php template:

<?php do_action('action_hook_espresso_price_list', $event_id);?>

The event_list_display.php template can be copied into the active WP theme and it will load from there so you don’t lose your changes when Event Espresso gets an update.


Sidney Harrell

April 5, 2013 at 1:04 pm

The price displayed on the event list is controlled by which price record is found first in the database. The easiest way for you to change it is to go to the edit event screen and copy the information from the first price into the fields for the second price, and copy the information from the second price into the first price. Then update the event, and the price displayed on the event list should swap.

The support post ‘Event Registration Page not consistent with prices that are displayed’ 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