How to remove specific metaboxes in backend on "add product" page
-
I think the title says it all: How can I disable specific metaboxes from the backend on the “add product” page in WordPress?
And: is it possible to deactivate the functionality for eg. “size tables” completely – and therefore improve performance?
Thanks in advance,
Thomas
Hello,
You can remove metaboxes if you disable CMB2 plugin. But it will disable metaboxes on pages and posts as well. Otherwise, you will need to customize our theme files to remove them.
Size guide can be disabled completely in Theme Settings -> Product page.
Regards
Thank you, can point me to the right files – the rest should not be a problem.
Thank you
Sure, you can find it in the file inc/classes/Metaboxes.php
.
Regards
Thank you! Last question: What is the safest way to make a customization like this to prevent problems with updates?
Specifically, this file can’t be overridden in the child theme to prevent losing changes after updates. We didn’t think that it will be required to edit it. So you may need to apply your changes after updates again. We will consider reworking this part in our theme in the future.
Regards
That would be great to put it on the roadmap. It is not a fancy visible element like a ajax slider but it would be indeed very flexible for all 🙂
The reason for this is obvious: customers who add new products to their shop don’t want such a cluttered interface with boxes they’ll never need.
Thank you for considering this improvement.
Sure, we will try to implement it in the nearest future.
Regards