I want to add one link/button on customer edit form in admin side in General group. when clicking on that button/link we need to open a popup and show a form with all the admin users with a specific role in dropdown/radio button. after selecting any one user and saving that form, we need to save that user in customer custom attribute called 'Manager' which is already created.

Customer attribute 'Manager' will save the admin user id which has some specific role called 'XYZ'.

How can I achieve this functionality with the custom module?

Main objectives are :

- how to add a new action link/button on the customer edit form?

- how to show a popup with the form which shows all the admin users having role 'XYZ' in dropdown/radio for selection, on clicking of button/link?

- how to save selected admin id in customer custom attribute name 'Manager'?


Your Answer

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

Browse other questions tagged or ask your own question.