Jump to content

Custom Module Upgrade file not detected in BO / I dont see upgrade button

Ali Samie

Recommended Posts

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


3- Add an upgrade function like this:

if (!defined('_PS_VERSION_')) {

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.


Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...