Let’s say you disabled product tags in your shop. Or maybe your store set up requires no short description. Or even, you want to hide a custom “metabox” (e.g. one of those widgets that appear on the Edit Product page). Either way, removing metaboxes and making the Edit Product page much cleaner is quite easy.
You just need the “ID” of the metabox and its position (‘normal’ or ‘side’, depending on whether it’s in the sidebar or not), and then this little PHP snippet. Enjoy!

Snippet (PHP): Hide Custom Metaboxes @ WooCommerce Edit Product Page
/**
* @snippet Remove WooCommerce Edit Product Page Boxes
* @how-to businessbloomer.com/woocommerce-customization
* @author Rodolfo Melogli, Business Bloomer
* @compatible WooCommerce 5
* @community https://businessbloomer.com/club/
*/
add_action( 'add_meta_boxes_product', 'bbloomer_remove_metaboxes_edit_product', 9999 );
function bbloomer_remove_metaboxes_edit_product() {
// e.g. remove short description
remove_meta_box( 'postexcerpt', 'product', 'normal' );
// e.g. remove product tags
remove_meta_box( 'tagsdiv-product_tag', 'product', 'side' );
}
This code is not working for the product_variation type.
This is my code
I don’t think this can work that way unfortunately, metaboxes are tied to the product, no matter its type
Great snippet! thank you!!! im want to hide the descrption box ยดwp-content-editor-containerยด, but i cant find de position! any idea ? thank you very much!
Hi Gab, thanks so much for your comment! Yes, this is definitely possible, but I’m afraid it’s custom work. If you’d like to get a quote, feel free to contact me here. Thanks a lot for your understanding!
This works for me to disable main editor
Muito show, obrigado pelas dicas! Very good!!!!
Thank you!