Support

Home Forums Event Espresso Premium Changing "Price" label

Changing "Price" label

Posted: August 25, 2016 at 12:59 pm

Viewing 5 reply threads


faithandaleftmyers@gmail.com

August 25, 2016 at 12:59 pm

I am a new user and am wondering if it is possible to change the label on the event registration page from “Price” to Donation”. I can’t seem to figure it out. I am no power user so baby steps would help.


Tony

  • Support Staff

August 26, 2016 at 4:10 am

Hi there,

The easiest method to changing the ‘Price’ string on the checkout page is to translate ‘Price’ to ‘Donation’. To do that you will need to add a snippet of code to your site, do you have FTP access to the files on your server?

We have a guide to translating specific strings here:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/

There’s a custom function at the bottom of that page that allows you to set specific strings to translate, in your case you need:

'Price' => 'Donation',

You can then add that to a Custom Functions Plugin (click for another guide) that will change the text for you….

However, in checking the above and confirming the above change works I ended up creating a the same plugin you would need to have done. You can install that plugin to change ‘Price’ to ‘Donation’ on the ticket selector and checkout page.

Download this – http://take.ms/hUxTs

Go to Dashboard -> Plugins -> Add New -> Upload Plugin.

Select that file you just downloaded and upload the plugin.

Now activate that plugin.

‘Price’ should change to ‘Donation’ on the ticket selector and checkout page.

(Note that the strings must match exactly, so the above will note change ‘Price Paid’ to ‘Donation Paid’)


faithandaleftmyers@gmail.com

August 26, 2016 at 7:58 am

Tony, thanks for the help. I followed your instructions to try to ad the plugin, but got the following message when trying to install it:

The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

Any idea what this means or how I could fix it? Again, I am not very versed and I don’t know where the files are stored. I simply log in through the site and make changes I can through the dashboard. I am not sure how to navigate to the code.


Tony

  • Support Staff

August 26, 2016 at 9:11 am

That usually happens when the file being uploaded is not a .zip file.

Are you opening the file and adding the PHP file or are you selecting the .zip file?

You want to download the .zip from above and save that somewhere (desktop for example)

Then select the .zip when uploading the file to your site.


faithandaleftmyers@gmail.com

August 26, 2016 at 12:11 pm

Tony, HUGE help. Thanks for guiding me through it!


Tony

  • Support Staff

August 26, 2016 at 1:47 pm

You’re most welcome.

Did that plugin change all of the instances of ‘Price’ that you needed it to?

Viewing 5 reply threads

The support post ‘Changing "Price" label’ 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