Support

Home Forums Event Espresso Premium Display price without tax – not working

Display price without tax – not working

Posted: May 28, 2016 at 10:22 am


Marstals

May 28, 2016 at 10:22 am

Hi, i pasted this:

// display the base price of the ticket in the ticket selector (instead of the modified price)
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 ) {
    return $ticket->get_ticket_subtotal();
}

into my functions file in my child theme, but nothing happens. Can you tell me what to do, to show the price without tax in the ticket selector?


Lorenzo Orlando Caum

  • Support Staff

May 28, 2016 at 11:10 am

Hi Marstals,

I just double-checked that the sample function here (https://eventespresso.com/wiki/useful-php-code-snippets/#display-base-price) works to show pricing without taxes.

Note that it applies to this setting in the ticket editor: http://cl.ly/2T1p063J0r2o

Are you using that setting or a price modifier?


Lorenzo


Marstals

May 28, 2016 at 11:36 am

I set a price modifier that surcharges 16%

I cannot find the checkbox you are referring to. Where exactly is it located? I don’t know what you mean, when your say “ticket editor”.


Lorenzo Orlando Caum

  • Support Staff

May 28, 2016 at 4:22 pm

Hi there Marstals,

Could you login to your WP dashboard and then go to Plugins?

Then what do you see for the version number for Event Espresso?

Thanks


Lorenzo


Marstals

May 30, 2016 at 4:42 am

I currently have Version 4.8.43.p


Lorenzo Orlando Caum

  • Support Staff

May 30, 2016 at 6:37 am

Hello,

A price modifier is different than the tax setting so that is why the sample function it isn’t working.

Go to Event Espresso –> Pricing. Then look for the Sales tax option and click on it.

Next, set it to 16% like this: http://cl.ly/3b120r0f0i1p

…and then save changes so the updated rate is running.

From here, go back to the event via the event editor through Event Espresso –> Events and click on the event and then go to the ticket editor are. Click on the gear icon (advanced options) and it will expand to show more information. Remove the existing price modifier and then enable the taxable option which is near the end of that section and save changes to the event:

http://cl.ly/3N2P1q1U2r1I


Lorenzo


Marstals

May 31, 2016 at 9:10 am

I have changed the name of the sales tax to IVA, i don’t know if i shouldn’t have done that.

Default prices

I don’t get the option to check a ticket as taxable.

ticket


Lorenzo Orlando Caum

  • Support Staff

May 31, 2016 at 11:23 am

Hello,

Changing the name is fine. Go back to Event Espresso –> Pricing and click on the IVA option and set that to the federal tax option and then save.

Then you’ll see the taxable option in the area that you are looking in the ticket editor.


Lorenzo


Marstals

June 2, 2016 at 2:13 am

Awesome, works like a charm.

Is there any way, that i can insert some sort of notice on this the checkout site, saying that tax is included in the prices that is showed?
I would like it to appear somewhere within the green box on the image below. If you can tell me how to insert something that can solve this, i can style it myself, to make it appear at the right place. If possible, i would like it to show the tax amount as well.

img

Another thing, how do i translate the content of the red box? Right now it’s saying “name and description”. The whole page is in spanish, but i work on it in english, as i do not understand spanish. Everything but this line gets translated.


Josh

  • Support Staff

June 3, 2016 at 10:41 am

Hi there,

You can copy over the attendee_info_main.template.php from Event Espresso 4 core into your WordPress theme, then edit the template’s PHP and html code to make the additions/edits you want to make there.

The support post ‘Display price without tax – not working’ 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