Posted: September 30, 2019 at 12:14 pm
|
September 30, 2019 at 12:14 pm Still running WP 4.8 and just updated to to EE 4.10.1p plug-in from 4.7 (or so). After the database updates were done and all the relevant pages back out of Maintenance mode, the promotional discounts stopped working. I can still buy tickets at full price, but both the 100% and dollar off promotions won’t apply. I tried with both new and existing events. I also tried new and existing promotions. None of the 4 worked. This is an example: http://www.camarilloyoga.com/events/testpromo/ |
September 30, 2019 at 12:36 pm Hi, I checked your site and there’s some PHP code being output to the html of the page. This is the PHP code:
The above may be interfering with the AJAX request that happens when a promo code is input and submitted. Can you fix the functions file so the code no longer outputs into the html of the site? |
|
|
Removed the filter that was suggested by the 4.10.1p release notes – as we also have “Advanced Custom Fields PRO” plug-in installed. Then tested both new and existing events, which appear to be working now. |
Hi, The Event Espresso 4.10.1.p release notes do not include anything about an Advanced Custom Fields filter. The line of code in of itself is OK to add to a functions file, and will be needed to avoid the conflict that happens when ACF pro overrides the datetime/ticket editor’s calendar scripts. In this case though, the code on your site was added in such a way that the code couldn’t actually execute (or do anything). Instead, the code was printed to the the site’s header. I can advise to add the code into the site, but this time follow this guide that shows how to add code to a functions file within its own plugin: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
|
Thanks. Will keep this handy if ACFP starts causing problems on EE4 pages. |
|
You can close this thread now. |
The support post ‘Promotion codes stoped working after update to EE 4.10.1’ 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.