Jump to content

Recommended Posts

Hi @cpuin

You can add this function to your module:

public function hookActionOrderStatusUpdate($params)
{
	//make something
}

Remember that, for your module "makes something" in that hook, its has to be added to that hook ("action order status update").

You can add by hand in backend, in positions.

Edited by garciasanchezdani (see edit history)

Share this post


Link to post
Share on other sites
On 12/24/2019 at 1:43 AM, garciasanchezdani said:

Hi @cpuin

You can add this function to your module:


public function hookActionOrderStatusUpdate($params)
{
	//make something
}

Remember that, for your module "makes something" in that hook, its has to be added to that hook ("action order status update").

You can add by hand in backend, in positions.

It's best to automatically connect the hook when the module is installed.

Just add the following to the install() function in the main module file

$this->registerHook('hookActionOrderStatusUpdate') 

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More