Home Forums Event Espresso Premium Managing Free Events

Managing Free Events

Posted: August 23, 2012 at 10:39 am

Dan Trujillo

August 23, 2012 at 10:39 am

I am working on setting up Event Espresso for a client. This client has events / programs that they offer. Some of the events require payment at the location where the event will take place rather than payment through the website for participation. There are also programs that do require payment for participation through the site. I have been going through all the options and even looking through the code to find the best way to handle the registration process. If I enter a cost for an event / program, the registration process is designed to charge the registrant that amount. If I put “0.00” it shows the event is “FREE”. What we are looking to do is not have “FREE” events, but use the “0.00” cost represent events / programs that require payment at the location (not through the website) so that the registrant’s information is added to the database & the registrant doesn’t think that it is free to participate.

Any suggestions?

Thank you in advance.


August 23, 2012 at 1:57 pm

we have similar situation where we bring in volunteers to help. Might be worth considering as a feature at some later version of the product.

Seth Shoultes

  • Support Staff

August 23, 2012 at 6:08 pm

You can try removing the price from the event list and registration templates. In the event_list_display.php file between line #’s 69 and 73 you can change or remove the output that says “Free Event”.

Dan Trujillo

August 23, 2012 at 7:14 pm

Thank you, Seth. I will try that. One other issue is the best way to handle event registration that has a drop-down for multiple items. For example, there are different program segments that a person will be able to register for. The drop-down shows the cost there, so anything people need to register online for, but need to pay at the location appears as an event / program that costs “$0.00”.

Any thoughts on where in the code I can change the “0.00” so that it reads “Pay At Location” or something to that effect?

Thank you!

Chris Reynolds

  • Support Staff

August 24, 2012 at 4:46 pm

So you are going to have multiple “prices” that are all 0.00 and you need to distinguish between them? Can you post a link to what you are working on so we can take a look?

Dan Trujillo

August 24, 2012 at 5:05 pm


Here is an example of one of the programs / events we are wanting to allow people to sign up for.

We show a cost of “$0.00” in the drop-down, but each session has a cost:

Full Semester (September – December): $158.00
Session 1 (September – October): $108.00
Session 2 (November – December): $72.00

The reason the cost was entered as “0.00” was because payment for participation needs to be done at the location where the activity takes place. The client wants to capture all the registration data, so we need a way to allow people to register…but then pay at the location as required. There are a few programs that do require the person to actually pay through the website. Not nearly as many (pay through website) as programs that require payment at the location.

Chris Reynolds

  • Support Staff

August 24, 2012 at 5:59 pm

I see. The only way to change that output is by hacking the event_espresso_price_dropdown function in the core (or with the custom files add-on). What you’d probably want to do is just check if the price was 0.00 and not display anything in that case (and enter the price in the description) rather than anything more complicated than that. That way you aren’t changing much and if you had free events, it wouldn’t break things later.

Dan Trujillo

August 24, 2012 at 6:09 pm

Thank you, Chris. I will check into doing the hack of the event_espress_price_dropdown function.

All the feedback has been much appreciated.

I will post whether or not I was successful with this.

Dan Trujillo

August 30, 2012 at 3:30 pm

I am having a little trouble with hacking the price drop-down. I believe I found the code that defines what is displayed in the drop-down (which is in /includes/functions/pricing.php), however I am not able to either hide the drop-down if price is 0.00 or even take the price out of the items.

I was able to modify one portion where it had been showing “Free Event” to different text. So, I achieved part of what I needed. Any further advice on updating that pricing.php file to not show a drop-down with cost of 0.00 would be much appreciated.

The support post ‘Managing Free Events’ 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