Support

Home Forums Event Espresso Premium Change currency settings into ticket_price shortcode

Change currency settings into ticket_price shortcode

Posted: May 9, 2017 at 8:12 am


devappers

May 9, 2017 at 8:12 am

The price ticket shortcode (into messages section -> template ticket for generate ticket html template) sets: currency sign – #Price – currency. The example is “€ 110,00 (EUR)”. I want delete the (EUR), but I don’t find the line of code for change this.


devappers

May 9, 2017 at 8:31 am

I answer myself 🙂

add_filter( 'FHEE__EEH_Template__format_currency__display_code', '__return_false' );


devappers

May 9, 2017 at 8:31 am

add into function.php


Josh

  • Support Staff

May 9, 2017 at 8:38 am

Hi there,

You can go to Event Espresso > Messages > Default Message Templates > Ticket > Edit page and add this to the top of the Main content section:

<style>.currency-code{display:none}</style>

Then save.

The support post ‘Change currency settings into ticket_price shortcode’ 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