I want to add a button under the price box on the product add/edit admin form and call a custom controller function when click on it by AJAX request.

Please Help ....!!

enter image description here


You can create product attribute to add desired field Magento 2 Add Product Attribute Programmatically

  • I want to add a Button, not the input text. – Vishal Thakur Jun 17 at 11:37
  • You cannot create a button on the product page. Magento only allows you to create more attributes for products, you can't create and save according to your customizations – LitExtension Magento Migration Jul 1 at 6:52

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.