Support

Home Forums Event Espresso Premium Changing text on the event ticket selector

Changing text on the event ticket selector

Posted: March 11, 2024 at 6:30 pm


David Haworth

March 11, 2024 at 6:30 pm

Hi,

I need to alter the text in two places on the ticket selector. I have managed to alter the QTY heading label using ‘FHEE__ticket_selector_chart_template__table_header_qty’ however I also need to alter

  • The ‘Details’ heading label to be ‘Participant'</l>
  • and the button text that says ‘Add event to cart’ at the bottom of the box to be simply ‘Add’.


Rio

  • Support Staff

March 11, 2024 at 8:50 pm

You can use script to select that particular element then change its textContent. The other option is to Follow this article.
https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function

you can also check this thread.
for some example.
https://eventespresso.com/topic/unable-to-change-text-on-registration-form-and-thank-you-page/

thanks


David Haworth

March 11, 2024 at 11:04 pm

Thank you for the advice but it alters all of the instances of the word Details throughout the site. I did however figure out that this hook exists FHEE__ticket_selector_chart_template__table_header_available_tickets so created this filter.

add_filter( 
	'FHEE__ticket_selector_chart_template__table_header_available_tickets',
	function(){ return 'Participants'; }
);

The support post ‘Changing text on the event ticket selector’ 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