Support

Home Forums Event Espresso Premium Display price range

Display price range

Posted: August 6, 2012 at 10:14 am

Viewing 3 reply threads


Alan Hester

August 6, 2012 at 10:14 am

Is there any way to control the price that is displayed for an event that has multiple prices? Ideally I would like to display a range. I am talking specifically about the price displayed on the event summary shown when you use the [ESPRESSO_EVENTS] tag.


Josh

  • Support Staff

August 6, 2012 at 12:32 pm

Hi Alan,

The event_list_display.php template can be modified to accomodate this.

The simplest way to display a price range would be to use the ee_meta and use a meta key to display pricing in any format:

enter image description here

Then, in event_list_display.php around line 70, the price display code can be changed to something like this:

<?php  echo __('Price: ', 'event_espresso'); ?></span><?php echo do_shortcode('[EE_META type="event_meta" name="price_display"]'); ?></p>


Alan Hester

August 6, 2012 at 1:45 pm

Thanks for your help, that works great! One more related question. How can I prevent the available spaces from showing up but still keep the logic so that a message is displayed if the event is full and give them the option of joining the waitlist.


Josh

  • Support Staff

August 6, 2012 at 3:21 pm

I would hide the available spaces text from the event list by adding a line of CSS to the theme or my custom CSS plugin:

p.spaces-available {display:none;}

Then set up the waiting list event as outlined in the documentation: https://eventespresso.com/wiki/create-a-waiting-list-for-your-event/

Viewing 3 reply threads

The support post ‘Display price range’ 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