Support

Home Forums Event Espresso Premium "Free Event" is not really free, but displays this way

"Free Event" is not really free, but displays this way

Posted: February 21, 2013 at 12:55 am


Wayne York

February 21, 2013 at 12:55 am

WordPress Version: WordPress 3.5.1
Event Espresso Version: Version 3.1.30.7P
Every time there is an update to either WordPress or EE, I install it. There have been multiple EE updates over the past few weeks.
Website address: http://www.cpnaz.com/event-registration/

I’ve created a sample event and posted it on my website. There are three price options for the event: (1) $25 + surcharge, (2) $100 + surcharge, and (3) $0. They are listed in that order. I want the event page at this location to show the event as costing $25, not “Free Event” as it shows now. I can’t find where to change this. Right now its misleading to folks who only discover the charges after they start the registration process. Please advise.


Dean

February 21, 2013 at 2:05 am

Hi Wayne,

The price shown on the event list should be the first price option in the event, so for you the $25. I havent been able to recreate this locally (even using the price structure you have) but I can see it on your site.

Have you tried editing the event and updating it?


Wayne York

February 22, 2013 at 8:03 pm

Yes, I have updated the event multiple times, but it still shows up this way. I’ve refreshed the page, while holding down shift, I’ve tried restarting the browser, but nothing works. I even deleted the single attendee for the event (me) to see if that would help, but it didn’t. What do I now?

I have several events like this that I need to get online, but I’ve had nothing but problems with Event Espresso every time I turn around. This is the 4th or 5th issue that I’ve reported and the “solutions” have been workarounds, not a fix of the actual problem. If I can’t rely on this program to work, I’m going to have to go back to DTRegister and Joomla.


Seth Shoultes

  • Support Staff

February 23, 2013 at 8:26 am

I created a function that displays a list of prices. Would something like that work for your needs? Or maybe a price range?


Seth Shoultes

  • Support Staff

February 23, 2013 at 10:35 am

Code example for the price range:
https://gist.github.com/sethshoultes/f05ae8b0c2f549a94d67

Code example for the list of prices:
https://gist.github.com/sethshoultes/ab1e992668cf3166a686


Wayne York

February 24, 2013 at 2:55 pm

I checked out the links you provided. Yes, I think that solution would work well in this case. However, will this solution (code) remain in place for all future events, even when I install updates to EE?

Also, it looks like it requires some advanced inserting of coding. I don’t know how to do that. One of the reasons I went with Event Espresso is that I thought I didn’t need to know this stuff, so I would need someone to help walk me through it.


Josh

  • Support Staff

February 26, 2013 at 8:09 am

Hi Wayne,

Either of the two solutions can continue to be in place after updating if the modified event list template files are copied over to /wp-content/uploads/espresso/templates. This article in the documentation has more details:

https://eventespresso.com/wiki/put-custom-templates/

In this case, either of the new functions that Seth put together for you get copied into the custom_functions.php file of the custom files add-on. If you haven’t installed the custom files add-on, step by step instructions can be found here:

https://eventespresso.com/wiki/custom-files-addon/

If you look at the bottom of either of the pages that Seth linked to, there is a line of code that gets added to the event_list_display.php template. You’ll likely want to replace the existing price display code with the modification. When you have what you’re looking for, you can copy over the /templates/event_list.php and /templates/event_list_display.php files over to /wp-content/uploads/espresso/templates.


Wayne York

February 27, 2013 at 5:58 am

Will making this modification display a range of prices in the event list area, from smallest to largest, regardless of the order they are listed in the ‘price option’ drop down box of the event? Or does it list the first value through the last value?


Josh

  • Support Staff

February 27, 2013 at 8:53 am

Hi there,

Seth offered two different solutions. The first one displays a range (lowest & highest prices).

The second one lists all of the price options for the event.

The support post ‘"Free Event" is not really free, but displays this way’ 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