Support

Home Forums Event Espresso Premium Change “Goes On Sale” text

Change “Goes On Sale” text

Posted: July 30, 2024 at 6:39 pm

Viewing 4 reply threads


Mike

July 30, 2024 at 6:39 pm

Hello,

I’ve posted about this before back in 2016, and once again in this post here, but it seems the code is no longer working today in 2024.

We have tickets increasing in price as the event date approaches in order to encourage people to register sooner. Therefore it doesn’t make sense to have the text “Goes on Sale”, instead we’d like it to say “Price Increases”.

Please see the link here.

Could you please help me Update and fix this? Thank you!


Rio

  • Support Staff

July 30, 2024 at 7:15 pm

Changing through translation is one option. You can also change it using filters

You can put it in your child theme function or you can use create plugin.
https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

add_filter(
  'FHEE__ticket_selector_chart_template__ticket_goes_on_sale_msg',
  'your_custom_goes_on_sale_text_function_name'
);
function your_custom_goes_on_sale_text_function_name() {
  return 'something else';
}

thanks


Mike

July 30, 2024 at 7:27 pm

This worked. Thank you!


Sam

  • Support Staff

July 31, 2024 at 12:57 am

We are glad you got that working now. Please feel free to let us know if you have any other questions.


Rio

  • Support Staff

July 31, 2024 at 4:41 am

Just to add some note on this.

Whenever there’s thing you want to change, check first our available hooks and filters.

they are all prefixed with either AHEE__ (Action Hook Event Espresso) or FHEE__ (Filter Hook Event Espresso) so if you search for either of those strings in a text editor/IDE you’ll find all of our hooks.

thanks and have wonderful.

Viewing 4 reply threads

The support post ‘Change “Goes On Sale” text’ 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