gorkij Posted May 5, 2019 Share Posted May 5, 2019 Is there a reason why installed and active modules in your store turns off when you switch theme? I use (amongst others) a module that limits payment methods based on the total value of the cart since there's several bank fees and similar involved. Every time I switch themes, I have to reinstall and/or reconfigure these modules (Including hooks, but that's understandable) - why? Is there some reason for this behaviour? Link to comment Share on other sites More sharing options...
Rolige Posted May 6, 2019 Share Posted May 6, 2019 Hello: Theme installer has his own list of modules to be active or disabled regarding of what theme developer consider modules <-> theme compatibiliy. In your case a module like that should not have a compatibility issue with any theme, but it is maybe included on disable list. Regards Link to comment Share on other sites More sharing options...
gorkij Posted May 6, 2019 Author Share Posted May 6, 2019 59 minutes ago, Rolige said: Hello: Theme installer has his own list of modules to be active or disabled regarding of what theme developer consider modules <-> theme compatibiliy. In your case a module like that should not have a compatibility issue with any theme, but it is maybe included on disable list. Regards Thank you, that clarifies it somewhat. Using the classic theme, i fail to see the logic of it. If it was modules in relation to design - yes. Payment restriction? No. Also, it doesn't turn them inactive - they're still active in the lists but not working until they're turned on-and-off or reinstalled - THAT is rather annoying. How am I to know what is operational and not? Or just run through all modules and turn them off/on? Link to comment Share on other sites More sharing options...
musicmaster Posted May 6, 2019 Share Posted May 6, 2019 they're still active in the lists but not working until they're turned on-and-off or reinstalled Hard to say what is happening. Maybe the module and the theme have an overwrite for the same file. Link to comment Share on other sites More sharing options...
gorkij Posted May 7, 2019 Author Share Posted May 7, 2019 19 hours ago, musicmaster said: they're still active in the lists but not working until they're turned on-and-off or reinstalled Hard to say what is happening. Maybe the module and the theme have an overwrite for the same file. I just rechecked, I have to manually uninstall and reinstall modules after switching back and forth from a child theme of Classic. Not just reconfig and save. Now, devs, this can't possibly be the meaning of the theme manager? The module tested here is V.Maissons Restriction of payment method 1.1.0 from the official stores. Link to comment Share on other sites More sharing options...
pepperoni Posted February 29 Share Posted February 29 I'm looking for a solution to this too. Link to comment Share on other sites More sharing options...
pepperoni Posted February 29 Share Posted February 29 I found a solution, for PS 8.1. You can disable modules in the theme configuration file, theme.yml. https://devdocs.prestashop-project.org/8/themes/getting-started/theme-yml/#modules 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