Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Show all prices in list, but hide free | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Show all prices in list, but hide free

Show all prices in list, but hide free

Posted: September 6, 2013 at 9:39 am

Viewing 1 reply thread


Amanda Pond

September 6, 2013 at 9:39 am

We’re using this solution: http://staging.eventespresso.com/topic/price-range-on-the-event-registration-page/

We would like any event that is listed as $0.00 to remain hidden. Currently it is displaying as “General Admission $0.00” (pulled from Name 2/Price $ in the event editor).

Outside of this custom function, we can hide Free Event with localization, but this information is being pulled from somewhere.

WP – Latest version
Event Espresso is up-to-date Version 3.1.34.1.P
Ticketing Version 2.0.10.2.p
Reoccurring events Version 1.1.7.1
Permissions Version 1.5.4.1


Dean

  • Support Staff

September 9, 2013 at 12:58 am

Hi Amanda,

“We would like any event that is listed as $0.00 to remain hidden. ”

Do you want the price hidden or the event itself?

If it’s the price, then you can amend the function a little bit, where it says

	if ($result['min'] == $result['max']) {
		$result = $org_options['currency_symbol'].$result['min'];
	} else {

change it to

	if ($result['min'] == $result['max']) {
		$result = $org_options['currency_symbol'].$result['min'];
		if($result == "$0.00") { $result = ''; }
	} else {

If it’s the event itself thats a little harder. you would likely need to either change the [EVENT_LIST] shortcode or use javascript.

If you are not sure how to go about this, I would recommend contacting one of our recommended developers http://staging.eventespresso.com/developers/event-espresso-pros/

Viewing 1 reply thread

The support post ‘Show all prices in list, but hide 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 - Staging Server