Support

Home Forums Event Espresso Premium Unable to find where 'This ticket is taxable' default is set

Unable to find where 'This ticket is taxable' default is set

Posted: August 25, 2015 at 5:47 am

Viewing 5 reply threads


Nathan Bradley

August 25, 2015 at 5:47 am

Hi

We’ve done a lot of digging on this, and hope you can get us out of the hole!

This is our Default Pricing setup – https://www.evernote.com/l/AAO-9GRW_7VORp9C2Au7azsQlTSavQxXkwo

And here’s what happens when we select ‘This ticket is taxable’ on a new event – https://www.evernote.com/l/AAPJdXAPOeBHtadjtvFv700E__36ahLUvis

Where is that Sales Tax @ 15% defined? We can’t find it anywhere!


Dean

August 25, 2015 at 6:02 am

Hi Nathan,

Me either. The Sales Tax default should be in the pricing area, but I can confirm it is not. I will raise a ticket to get this looked into asap. Sorry about that!


Nathan Bradley

August 25, 2015 at 6:03 am

I think I’ve found it…

/Users/peter/Repositories/teap-2016-booking-system/event-espresso-core-reg/caffeinated/brewing_regular.php:
132 ‘PRT_ID’=>$wpdb->insert_id,
133 ‘PRC_amount’=>15.00,
134: ‘PRC_name’=> __(“Sales Tax”, “event_espresso”),
135 ‘PRC_desc’=> ”,
136 ‘PRC_is_default’=>false,

If I amend this file, will it be overwritten when we update EE?


Dean

August 25, 2015 at 6:11 am

Hi,

Yes, the file will be over written on update.

Also, amending that file will have zero effect as that file adds the data to the database.

As such, you would have to amend the *_esp_price table directly in the database (* = your database prefix).

If you decide to do this, we STRONGLY recommend backing up your database first!


Nathan Bradley

August 25, 2015 at 7:05 am

The database amend fixed the issue!

Thanks Dean.

(Though weird why it’s not on the default pricing page.)


Josh

  • Support Staff

August 25, 2015 at 12:18 pm

Hi Nathan,

It turns out this was a new bug in 4.8 that caused it to not show up in the first place on your new install (existing installations prior to 4.8 would have it). The latest update includes a fix for this.

Viewing 5 reply threads

The support post ‘Unable to find where 'This ticket is taxable' default is set’ 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