Jump to content

How to enable module in multistore manually


minic studio

Recommended Posts

Hi!

 

I`m working on a module and I want to attract the users attention to enable the module for the active shops (if he installs only for one shop).

 

So i would like to know how how can i do this manually.

If i call this :

private function enableModule(){
 parent::enable();
}

or this:


private function disableModule(){
 parent::disable();
}

 

And later i use the prestashops default method to enable or disable i get fatal error, so i think i miss something and tha parent::enable() isnt enough.

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...