Home Forums WoodMart support forum How to remove specific metaboxes in backend on "add product" page

How to remove specific metaboxes in backend on "add product" page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #32287

    getimo
    Participant

    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

    #32290

    Artem Temos
    Keymaster

    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

    #32293

    getimo
    Participant

    Thank you, can point me to the right files – the rest should not be a problem.

    Thank you

    #32297

    Artem Temos
    Keymaster

    Sure, you can find it in the file inc/classes/Metaboxes.php.

    Regards

    #32298

    getimo
    Participant

    Thank you! Last question: What is the safest way to make a customization like this to prevent problems with updates?

    #32301

    Artem Temos
    Keymaster

    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

    #32311

    getimo
    Participant

    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.

    #32313

    Artem Temos
    Keymaster

    Sure, we will try to implement it in the nearest future.

    Regards

Viewing 8 posts - 1 through 8 (of 8 total)