Support

Home Forums Event Espresso Premium Rename QTY on Ticket Selector

Rename QTY on Ticket Selector

Posted: July 2, 2019 at 5:31 pm

Viewing 1 reply thread


HC4Wb

July 2, 2019 at 5:31 pm

We would like to change the word QTY to be select or Register. I was reading that if you add the following code to the functions.php file that it will work but everytime I try to add I get a fatal error.

Is there CSS Code I could add?

add_filter(
‘FHEE__ticket_selector_chart_template__table_header_qty’,
function(){ return ‘Select’;}
);


Tony

  • Support Staff

July 3, 2019 at 2:54 am

Hi there,

Is there CSS Code I could add?

No, CSS is presentation code, you don’t change the underlying HTML with CSS (technically you can, but that’s not how you want to start doing this).

With regards to:

add_filter(
‘FHEE__ticket_selector_chart_template__table_header_qty’,
function(){ return ‘Select’;}
);

If you check the servers error logs, what is the full error you are getting when adding the above?

What version of PHP are you running?

You can try using something like this: https://gist.github.com/Pebblo/6c8c3c8d84b9d77608d9116bfe012dec

Change ‘CustomQty*’ to ‘Select’.

Viewing 1 reply thread

The support post ‘Rename QTY on 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