Support

Home Forums Event Espresso Premium EE4 Show event ticket price net (without tax)

EE4 Show event ticket price net (without tax)

Posted: February 19, 2015 at 6:35 am

Viewing 5 reply threads


Future Flux

February 19, 2015 at 6:35 am

Hi,

in event detail view, I would prefer to show the net price of the event (without tax) in the ticket table headline (tax would be shown only if details are expanded). Is that possible?

Thanks
Michael


Josh

  • Support Staff

February 19, 2015 at 2:57 pm

Hi Michael,

This is possible by means of a WordPress filter hook. Here’s a link to some ready made code you can use:

https://eventespresso.com/wiki/useful-php-code-snippets/#display-base-price


Future Flux

February 20, 2015 at 2:35 am

Hi Josh,

Thanks for the quick reply.
Unfortunately, that doesn’t seem to do the trick.
I tried adding the hook in functions.php of child theme as well as create a plugin as described in https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Any ideas what could be wrong?

Thanks
Michael


Dean

February 20, 2015 at 7:38 am

Hi Michael,

If you are using Price Modifiers rather than taxes, try this: https://gist.github.com/Apina/c8c922158a62a97e7e2a


Future Flux

February 20, 2015 at 3:12 pm

Solved – Thanks for your help!


Dean

February 23, 2015 at 1:23 am

You’re welcome!

Viewing 5 reply threads

The support post ‘EE4 Show event ticket price net (without tax)’ 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