on 2018 Jun 06 4:36 PM
scenario:
When order is placed, backoffice team changes order status to "approved" after checks and all. My requirement is on changing orderstatus when we click on SAVE. I need to show a popup for further actions like calling an API .
can u please help me with this.
Request clarification before answering.
could you elaborate please on how to send a message via virtual socket? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
There is an interface com.hybris.cockpitng.widgets.baseeditorarea.EditorAreaLogicHandler that is responsible for handling Save event (among others). There is also a default implementation of this interface com.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaLogicHandler that is used ootb. You may write your own implementation (most probably by extending a default one and overriding #performSave method). I would suggest sending there a message via virtual socket that you define and connecting this socket to some widget marked as template. This should do the work.
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.