Steve Shepherd Posted June 17, 2020 Share Posted June 17, 2020 Hey, first post and not a hardcore developer but having a problem in the Cart Rules > Add New Rule It appears the JS is just not working. Neither in the Body nor the side menu. In the Inspector Panel just one error... admin1924xks5y/index.php?controller=AdminCartRules&addcart_rule&token=8a351ce9c4c32934e3cccff03dd7fd74#:1 Unchecked runtime.lastError: The message port closed before a response was received. Clicking Generate on the code : VM20423:1 Uncaught ReferenceError: gencode is not defined at <anonymous>:1:1 None of the buttons work so basically can't add any discounts. Clicking save just pushes back up to the top of the page. Using Prestashop 1.7.6.4 and have 2 languages installed (English and Spanish). If anyone has any idea please let me know. Link to comment Share on other sites More sharing options...
Steve Shepherd Posted June 24, 2020 Author Share Posted June 24, 2020 In case anyone actually finds this, it turns out CloudFlare's Rocket.Loader.JS for some reason disables the JS on this page only. Disabling it on cloudflare enables the page again. I'm not enough of a programmer to tell you why but at least its a solution!! 1 Link to comment Share on other sites More sharing options...
uno7 Posted October 24, 2020 Share Posted October 24, 2020 On 6/25/2020 at 5:42 AM, Steve Shepherd said: In case anyone actually finds this, it turns out CloudFlare's Rocket.Loader.JS for some reason disables the JS on this page only. Disabling it on cloudflare enables the page again. I'm not enough of a programmer to tell you why but at least its a solution!! Saved me a lot of time. Thanks, man! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now