Posted: May 5, 2016 at 4:23 am
|
Dear Josh, Referring to this thread: https://eventespresso.com/topic/tax-to-be-paid-even-if-promotion-value-is-high-enough/#post-200716 the problem seemed to be solved for a couple of days. However since upgrading to a new theme yesterday, we’re back to this same issue – the setting will not be stored for longer than a couple of hours or so. Could you update me on whether you implemented a fix and if so, what the problem was? Best, |
Hi there, We haven’t found the source of the problem, but it may be a clue that the theme may have triggered this. We do have a branch that adds additional logging code that attempts to capture the what triggers resetting the settings. Would it be okay if we installed that branch on your site and turned on error logging? |
|
|
Yes, you have permission to do so. Thank you! |
Okay we’ll do. We have the FTP credentials, but after so many days the WP Admin credentials were deleted. Can you please send WP admin level credentials via the form on this page? |
|
Update: |
|
|
Dear Josh, I’m running Promotions 1.0.7, but the problem still occurs. Best, |
Both have different approaches to fixing the issue we saw on your site, which by the way was the WP Heartbeat API was triggering the Promotions settings to get reset. |
|
|
Dear Josh, Unfortunately, the problem persists after updating both the EE4 plugin als the promotions plugin to the latest version. Best, |
Thanks for letting me know. I’ve informed the developer that’s assigned the tickets for fixing the promotions add-on. |
|
|
Dear Josh, |
While we haven’t found the exact cause of why the Promotions config keeps getting reset on your site, we added a filter hook in version 1.0.8.p that you can use to make it so the Promotions Affects Taxes setting is *always* set to Yes. After you update your site to have Promotions 1.0.8.p, you add this code to your site:
You can add the above to a functions plugin or into your WordPress theme’s functions.php file. |
|
Better formatted code examples are here: https://eventespresso.com/wiki/ee4-promotions-add-on/#customizations |
|
|
Thx, works like a charm. 🙂 |
The support post ‘Tax settings keeps being reset’ 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.