cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Module A “after click save button” event to Module B

How to get Module A “after click save button” event to Module B

I am using amasty store locator, in that module we can create an attribute, i have two attributes, attribute 1 is filled by manual, another attribute 2 is filled by automatically. In module A click the save button after entered attriubute 1 pass that attribute 1 value to Module B doing some API thing after that i am getting one value and save it into Module A attribute 2. Here Module A and Module B handshake for sharing the details.

2 REPLIES 2

Re: How to get Module A “after click save button” event to Module B

MyAARPMedicare online portal has a variety of health insurance plans with various budgets and terms. The future with the MyAARPMedicare will surely be safeguarded by guidelines formed to eradicate all kinds of health issues through the provision of the most expert doctors and medical tools.

Re: How to get Module A “after click save button” event to Module B

Hi @Aveeva,

 

You can use the dispatch function to call another module's event for processing

 

$this->_eventManager->dispatch('event_name', ['data' => 'data']);

 

Hope this can help you! Let me know if you need further assistance. 

_________

If issue solved, Click Kudos & Accept as Solution

LitExtension - #1 Shopping Cart Migration Expert

LitExtension helps store owners and agencies migrate all important data from one eCommerce platform to another accurately, securely and at the highest speed.

Visit website: http://litextension.com/