Support

Home Forums Event Espresso Premium display price 0,00

display price 0,00

Posted: April 8, 2016 at 7:15 am


Victor Quinten

April 8, 2016 at 7:15 am

how can i display the price of 0,00 eur?


Tony

  • Support Staff

April 8, 2016 at 10:32 am

Hi Victor,

Can you explain a little further please?

If you set the price of the ticket to be 0.00 then Event Espresso will display that within the ticket selector and registration steps.


Victor Quinten

April 8, 2016 at 3:44 pm

Hi Tony,

sure i can ๐Ÿ™‚
we want to display an 0,00 eur display for tickets with an Ticket Capability Requirement.
now is there displaying not an price at all.


Josh

  • Support Staff

April 8, 2016 at 4:00 pm

Hi Victor,

If I’m understanding this correctly, you add this code to your site:

add_filter( 'FHEE__ticket_selector_chart_template__hide_ticket_selector', '__return_false' );

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


Victor Quinten

April 17, 2016 at 8:55 am

Hi Josh sorry for my late reply.
i have added the code to my function.php file in my used theme, butt i stil dont see an ticket prize of 0,00 eur.


Tony

  • Support Staff

April 18, 2016 at 4:19 am

I’m sorry but its still not clear what your trying to do.

Are you referring to this – http://take.ms/Mp7R8

You would like still display a price there even when the ticket is 0,00?


Victor Quinten

April 18, 2016 at 9:10 am

Hi Tony, yes that is what i mean ๐Ÿ™‚


Tony

  • Support Staff

April 18, 2016 at 10:39 am

You can add the price to that text using a function like this:

https://gist.github.com/Pebblo/2b5c0eedf2d4c6ad97910edf560cd706

Add that to either your functions.php file or a Site Specific Plugin.

The price will then always display within the ticket selector – http://take.ms/FaApG

(the format will be taken from your current currency settings)


Victor Quinten

April 18, 2016 at 2:53 pm

thanks Tony that did the trick :)!

The support post ‘display price 0,00’ 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