Support

Home Forums Event Espresso Premium Price range on the event registration page

Price range on the event registration page

Posted: May 14, 2013 at 3:16 pm

Viewing 6 reply threads


Ravish Bhandari

May 14, 2013 at 3:16 pm

I notice that on the event registation page it only list 1 price of the event even when I have create multiple price points. Is there a way to show the range of price on the initial event registration page. I feel that only showing 1 out of 3 prices will scare some people away from coming. It shows all 3 prices after you have clicked on the “register” button, but I really need it to show all price points or range at the beginning.
wordpress: version 3.5.1
ee: Version 3.1.32.P
installed add-ons: Multi Event Registration, Social Media
new installation
online: http://www.beholdgodministries.org/event-registration/


Seth Shoultes

  • Support Staff

May 14, 2013 at 3:31 pm

Hi Ravish,

Here are a couple of code examples.

Displays a range of prices, if there are multiple prices, per event. Otherwise it just shows a single price. Eg.: Price: $1.00 — $2.00:
https://gist.github.com/sethshoultes/f05ae8b0c2f549a94d67

Displays a list of prices if there are multiple prices per event. Otherwise it just shows a single price:
https://gist.github.com/sethshoultes/ab1e992668cf3166a686


Ravish Bhandari

May 15, 2013 at 7:23 am

Thank you for the quick response. I tried to add both code examples at different times using the custom_functions.php and the event_list_display.php but I am still seeing the singular price on the event registration page. Is there a specific location I should put the first part of the code “event_espresso_price_range.php” into the custom_functions.php Any help would be greatly appreciated! Thank you.


Josh

  • Support Staff

May 15, 2013 at 8:20 am

Hi Ravish,

I will typically place the custom function at the beginning of the custom functions file.

Please note that if the single price display code is left in the event_list_display.php file, it will still display a single price. You may want to remove it (you’ll find it on line 70 of the current version) and replace it with the price range action hook.


Ravish Bhandari

May 15, 2013 at 8:59 am

I feel like I have followed all of the code for the following link: https://gist.github.com/sethshoultes/f05ae8b0c2f549a94d67

I have placed the proper code into the custom_functions.php

and the replaced the single price string with the price range hook for the event_list_display.php

But I still dont see the change of singular price to multiple. I have even hard-refreshed a couple of times. What am I doing wrong? I apologize, but I am not the best code expert. If you could look at the proper files in my wp-content/uploads/espresso/ and wp-content/uploads/espresso/templates/ folder…maybe you can figure out what I have done wrong.

Thank you so much for your help.


Josh

  • Support Staff

May 15, 2013 at 9:26 am

Hi Ravish,

We don’t have access to your server so we can’t look, and typically we require a priority support token before we can FTP into a site to troubleshoot.

Did you copy over both event_list.php and event_list_display.php to /wp-content/uploads/espresso/templates?

Alternatively, you can copy the event_list_display.php file to your active WP theme’s directory and it will load from there.


Ravish Bhandari

May 15, 2013 at 9:59 am

Worked! I had forgotten to copy over the event_list.php also. You guys are the best!

Viewing 6 reply threads

The support post ‘Price range on the event registration page’ 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