When the range of available tickets is displayed, ‘/ ticket’ is displayed after the price and the currency code, even if you can only buy one.
I do notice it has its own span (‘smaller-text no-bold’) so editing the CSS to make that not display would be an option if there is no other way to do it.
Being able to not display the currency code would also be nice…
The code you want to look at is in modules/ticket_selector/templates/ticket_selector_chart.template.php on line 148. I think if you wrap that in an if if ( $max_atndz != 1 ) {
then that should keep the “/ ticket” from displaying if you can only buy one.
I think you should be able to copy that template file to uploads/espresso/templates, and core will pick it up from that location.
Viewing 1 reply thread
The support post ‘Losing '/ ticket' if you can only buy one (EE4)’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.