Ali Samie Posted April 11, 2022 Share Posted April 11, 2022 Hi community. I am a prestashop module developer. I was working on our module and needed to make an upgrade for our module. I have done this earlier on other modules. Its like doing these steps: 1- check the current version of module in your module root file. Its like this: $this->version = '2.4.0'; 2- Add a new file in this path of module root folder <module-root>/upgrade/Upgrade-2.4.1.php 3- Add an upgrade function like this: if (!defined('_PS_VERSION_')) { exit; } function upgrade_module_2_4_1($module) { //my code goes here return true; } 4- Open Module Manager in BO and look up for the module, then click upgrade button. BUT I DONT SEE ANY UPGRADE BUTTON Link to comment Share on other sites More sharing options...
JBW Posted April 11, 2022 Share Posted April 11, 2022 Check/delete config.xml file in your module folder Link to comment Share on other sites More sharing options...
Ali Samie Posted April 11, 2022 Author Share Posted April 11, 2022 6 hours ago, JBW said: Check/delete config.xml file in your module folder I solved it. I forgot to change the version in module root file. 1 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