Support

Home Forums Event Espresso Premium Change “Price : $0.00? to “No Charge”

Change “Price : $0.00? to “No Charge”

Posted: August 7, 2013 at 4:38 am

Viewing 2 reply threads


clewis

August 7, 2013 at 4:38 am

Hi,
I am using WordPress 3.6 with Event Espresso 3.1.32.2.P. I need to change the text for “Free Events” to “No charge” – I did see an old topic and tried to follow the instructions:

Posted on: April 6, 2012 at 3:13 pm
The best I can do is get you pointed in the direction on how to change this in the event list. In event_list_display.php, look for the code where it displays the price and change it to something like this:
<p id=”p_event_price-<?php echo $event_id?>” class=”event_price”>
<?php echo __(‘Price: ‘,’event_espresso’) . event_espresso_get_price($event_id);?>
</p>
That will change free events to say “Free Event”. From there, you’ll need to either translate this text string in the language file -or- edit the text string directly in /includes/functions/pricing.php.
Note that if you have the members integration add-on active, this probably will not work.

Read more: Change “Price : $0.00? to “No Charge”

with no success, I have deactivated the “Member add-on”.

Your assistance would be appreciated :o)

Cindy

  • This topic was modified 11 years, 3 months ago by clewis.


Dean

August 7, 2013 at 5:00 am

Hi,

The two best ways to do this, both translate the text:

1) Use this guide and the translations files https://eventespresso.com/wiki/how-to-change-wording-with-poedit/

2) Use this code in your themes functions file http://www.viper007bond.com/2011/07/13/changing-core-wordpress-strings/


clewis

August 10, 2013 at 6:19 am

Hi Dean,

Thank you so much, I used the Localization plugin and I changed the instances of “Free Event” to “No Charge”.

Take care,
Cindy

Viewing 2 reply threads

The support post ‘Change “Price : $0.00? to “No Charge”’ 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