Support

Home Forums Event Espresso Premium Losing '/ ticket' if you can only buy one (EE4)

Losing '/ ticket' if you can only buy one (EE4)

Posted: February 15, 2015 at 5:21 am


Ian Just

February 15, 2015 at 5:21 am

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…


Sidney Harrell

February 16, 2015 at 1:16 pm

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.

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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Sidney Harrell 5 years, 1 month ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!