Support

Home Forums Event Espresso Premium Show ticket prices w/o surcharges included / automatically expand "Show details"

Show ticket prices w/o surcharges included / automatically expand "Show details"

Posted: June 23, 2014 at 11:08 am


Ben Rheault

June 23, 2014 at 11:08 am

Is it possible to either show the ticket price without the surcharges automatically added when showing Ticket Prices on the event page? If that’s not possible, are you able to have the “Show Details” portion of the ticket page automatically expanded?

We’d like participants to see the cost breakdown so they don’t think our event is drastically more expensive than the previous years was.

Thanks in advance.


Lorenzo Orlando Caum

  • Support Staff

June 23, 2014 at 12:09 pm

Hi David,

The surcharges are added as line items. They are usually used to show the overall cost of a ticket. You can remove the surcharges and include them in the price of the ticket.

This code snippet will open the ticket details for you:

function ee_ticket_selector_show_details() {
 ?>
 <script type="text/javascript">
 jQuery(document).ready(function () {
setTimeout(function() {
 jQuery(".display-tckt-slctr-tkt-details").trigger('click'); 
    },5);
});
 </script>
 <?php
 }
add_action( 'wp_footer', 'ee_ticket_selector_show_details' );

It can go into your child theme’s functions.php file or a custom site specific plugin:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Hope this helps!


Lorenzo


Ben Rheault

June 24, 2014 at 8:05 am

Lorenzo thank you again for your timely response. How would I remove the surcharge and include it in the ticket price?

Ultimately my goal is for someone to see the cost of the event without tax and then have that tax added upon checkout. Is this possible?


Josh

  • Support Staff

June 24, 2014 at 9:19 am

Hi David,

Event Espresso 4 displays the ticket price with tax included. That said, if you’re using a gateway like PayPal standard you can set the tax to be added when they pay at PayPal.com. Here’s a link to PayPal’s documentation:

https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/Marketing/shipping/EasyCalculateShipAndTax-outside

Will something like that work for you?

The support post ‘Show ticket prices w/o surcharges included / automatically expand "Show details"’ 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