You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to add a couple more event emitters - for example: customer_address_updated or customer_address_created . Can I just copy module updateCustomerAddress.ts into an extension and modify it - will that override the original OR would it be better to create a middleware function that just emits the event? Or is there a better way? (modify the source and a pull request!). I tried the first, but I can't get it to override, but maybe that is my misunderstandings of how the modules/extensions work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to add a couple more event emitters - for example:
customer_address_updatedorcustomer_address_created. Can I just copy moduleupdateCustomerAddress.tsinto an extension and modify it - will that override the original OR would it be better to create a middleware function that just emits the event? Or is there a better way? (modify the source and a pull request!). I tried the first, but I can't get it to override, but maybe that is my misunderstandings of how the modules/extensions work.Beta Was this translation helpful? Give feedback.
All reactions