angular Posted August 12, 2021 Share Posted August 12, 2021 Good Morning! I have a very serious problem where it is very silly. I have a multistore with Prestashop 1.7.7.1 and is that when preparing a discount rule, the conditions and actions tabs do not open or do nothing. If I open the browser console, I see that it gives me this error 500 No route found for "GET /common/notifications": Method Not Allowed (Allow: POST) [Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException 0] The link that makes up the tab does not include any href, I think the Javascript function should go here to change the tab. I have tried to delete cache, from prestashop and by FTP, in var/cache but the problem is not there. It happens in all shops in Prestashop, except one, where the tabs is working. Thanks for reading me! Link to comment Share on other sites More sharing options...
angular Posted August 12, 2021 Author Share Posted August 12, 2021 I have been looking closely and in the end I was able to fix. I thought not but the problem is due to a front-end conflict with a module called Lava Settings. This module is responsible for importing templates and their configuration. In a js file called common.js, with JQuery code, there was a line in which it collects the tabs class and assigned the parameter href = "#" to the <a> elements. I have simply commented on this line but it has taken me an hour to analyze the code. For someone who can serve, I leave you the captures. To the module Lava, common.js is localizate in modules/lavasetting/view/js/common.js. For anyone module, you should chech your modules and clear cache Link to comment Share on other sites More sharing options...
SmartDataSoft Posted August 12, 2021 Share Posted August 12, 2021 @angular Is this native PrestaShop module lavasetting 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