Jump to content

Custom action link/button in admin


bille88

Recommended Posts

Hi all

 

I am trying to add a button in my module. Specifically I am trying to add an action that handles the order upon clicking the button that is shown on the order information page (AdminOrders).

 

The button is showed with the hook hookDisplayAdminOrderContentShip but I can't seem to figure out how to add the button in such a way that my function test($order) is called afterwards.

 

Does anybody have any input on how to approach this?

 

Kind regards

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