Support

Home Forums Event Espresso Premium Function/Code for displaying only price?

Function/Code for displaying only price?

Posted: June 18, 2015 at 10:32 am

Viewing 3 reply threads


mpurse

June 18, 2015 at 10:32 am

Hey everyone,

I’ve managed to create custom template to show events my way (https://www.thegoodlifecentre.co.uk/dev/workshops/) but only one thing missing now, price. How do I display it? I don’t want complete ticket, just price. It was easy in EE3 with $org_options[‘currency_symbol’].$event->event_cost, what about EE4? Spent half of afternoon trying to figure it out.


Lorenzo Orlando Caum

  • Support Staff

June 18, 2015 at 10:45 am

Hi, see step 9 in this example for some sample code that will do that:

https://gist.github.com/lorenzocaum/ef6afefd07c9c5f6f681


Lorenzo


mpurse

June 18, 2015 at 11:03 am

Thank you very much :).


Lorenzo Orlando Caum

  • Support Staff

June 18, 2015 at 11:29 am

You are welcome. If you need help with anything else, just create a new support post in our support forums:

https://eventespresso.com/support/forums/


Lorenzo

Viewing 3 reply threads

The support post ‘Function/Code for displaying only price?’ 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