How I can hide add product button from admin panel?
see image below for more clarification.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI am also not so sure but you can override Magento\Catalog\Block\Adminhtml\Product.php file
by giving in di.xml and can use $this->buttonList->remove('add_new');
in _prepareLayout
function.
Note: You can not use plugin as it is not public function.