Support

Home Forums Event Espresso Premium Events List shows events as free

Events List shows events as free

Posted: March 28, 2013 at 8:59 am


chill

March 28, 2013 at 8:59 am

If one of the event price options is $0.00, even though other options are > $0.00, the event is listed as free on the events list page: http://cmsaaz.com/events/, although it doesn’t show as free on the individual event page. Am I missing a setting somewhere?


Sidney Harrell

March 28, 2013 at 9:48 am

In the event list, the first price on the edit event screen is the one that is displayed.


chill

March 28, 2013 at 9:57 am

That’s true for the drop-down – I’m not talking about the drop-down… I’m talking about the phrase “Free Event” on each event on the EVENTS LIST page that has one of the prices as $0.00 (and in the case of the April Dinner, the $0.00 rates are the last 2 of 6 different prices). That phrase does not appear on the individual event page. If a visitor goes to the event list page instead of the individual event page, they would get the impression that the event is free.

http://cmsaaz.com/events/


Josh

  • Support Staff

March 28, 2013 at 11:47 am

Hi Chill,

There’s a function you can add your WordPress theme’s functions file along with a small edit to the event_list_display.php template file that will make the event list display a list of prices instead of only only of the price options there.

Here is a link to the code:

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

You can copy and paste the event_espresso_price_list function into your theme’s functions.php file or into the custom file add-on’s custom_functions.php file.

Then you can copy event_list_display.php from the Event Espresso plugin’s templates directory into your theme and add this line of code in the template where you want the list of prices to display:

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


chill

March 28, 2013 at 11:52 am

I would rather not have the pricing show at the top of the event page in the events list. Is there a way to turn it off on the events list page so it looks the same as on the individual event page? (i.e. no “Free Event” designation?)


Josh

  • Support Staff

March 28, 2013 at 11:59 am

Hi Chill,

It can be hidden with CSS or removed from the template.

The easiest way to do this is with CSS by adding this to your theme’s custom stylesheet or use the my custom CSS plugin to add it:

.event_price {display:none;}


chill

March 28, 2013 at 12:08 pm

Worked like a CHARM!!! Thank you so much!

The support post ‘Events List shows events as free’ 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