I have created package1 and its 2 modules for example module1,module2.Now situation is I want to use both observer in both modules,I want to run first module1 observer then call or run second module observer.Both modules are using same observer.What I do ? Any suggestion ?


Please try to use depends. In your second module registration file (i.e. app/etc/modules/Package1_Module2.xml) after:


add something like this:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.