Add custom button on add/edit product page
问题 https://i.stack.imgur.com/uHZ33.png How to add a custom button, in add/edit product page (magento2). I need to open popup on clicking of the button. 回答1: The product form is generated via ui-components . The ui component name for product form is view/adminhtml/ui_component/product_form.xml . You need to create a file with the same name and path in your own module with the following content: <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi