Home Forums Event Espresso Premium How to remove surcharge from base price listing

How to remove surcharge from base price listing

Posted: February 4, 2015 at 1:03 pm

Matt Maher

February 4, 2015 at 1:03 pm

I tried the code given here:

but it is not changing my ticket prices to show only the ticket price without the surcharge. It is separated when you click on view more but not in the main price.

Sidney Harrell

February 4, 2015 at 2:45 pm

Can you confirm that your code snippet is getting picked up by putting a die(); statement into it? Between the add_filter line and the function definition should be fine. If it reacts to the die there, try moving it into the function, before the return.

Matt Maher

February 4, 2015 at 2:58 pm

I am not really familiar with that but I did add die(testing); to each location and when loading the site it does the same with both, it gave me a blank page with “testing” on it. Don’t know if that helps. I removed it now.


  • Support Staff

February 4, 2015 at 9:34 pm

Hi Matt,

Can you let me know which version of Event Espresso you have installed and along with that, can you verify that this is the exact code you have in your custom plugin:

Matt Maher

February 5, 2015 at 2:59 pm

Yes, it is.

Matt Maher

February 5, 2015 at 3:02 pm

Version 4.6.2p


February 6, 2015 at 3:35 am


To clarify are you adding a price modifier or using the taxes system (the tick box “this ticket is taxable”) ?

Matt Maher

February 6, 2015 at 11:50 am


Price Modifiers
Price Type Name Description Amount
Dollar Surcharge Transaction Fee + $ 1.75


February 9, 2015 at 3:48 am


Thanks for the clarification.

I think that this should work, as the above code works for taxation rather than price modifiers:

add_filter( 'FHEE__ticket_selector_chart_template__ticket_price', 'change_ee_ticket_selector_base_price_display', 10, 2 );

function change_ee_ticket_selector_base_price_display( $ticket_price, $ticket ) {

    $x =  $ticket->base_price();

    $y = $x->get('PRC_amount');

    return $y;

Matt Maher

February 9, 2015 at 9:17 am

Looks like that took care of it, thanks.

The support post ‘How to remove surcharge from base price listing’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Matt Maher 5 years, 3 months ago ago

Topic Tags


This topic is: resolved
Do NOT follow this link or you will be banned from the site!