cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Plugin sequence execution order

former_member703173
Participant
0 Likes
316

Hi Experts.

Hello Experts.
I have a question regarding the plugin execution sequence.
Let's imagine that we have the plugin that we will call A that performs certain tasks in the addsalesitem method, we also have the plugin B that performs other tasks in the addsalesitem method.
Plugin A must always be run before Plugin B.
What do we have to do to be able to control said execution order?

Thanks in advance!
View Entire Topic
R_Zieschang
Contributor

Hi raul_campo,

plugins are executed strictly in alphabetic order.

Alternatively you could implement something like an eventbus, where every plugin listens to and consume the events which are important.

Regards

Robert