How can I hide this from the Woocommerce Admin back end please?
I don’t want to use the screen options (upper right corner) because it eliminates only for specific user… I would like to hide this option out for good…
Thank you…
This topic has 17 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
How can I hide this from the Woocommerce Admin back end please?
I don’t want to use the screen options (upper right corner) because it eliminates only for specific user… I would like to hide this option out for good…
Thank you…
I also would like to hide the “Revolution Slider Options” in the Woocommerce Add Product Page…
Thank you…
Hello,
Please show on a screenshot what you want to hide and provide WP admin credentials in private content.
Regards,
Eva Kemp.
Please go here (woocommerce add products) –> http://prnt.sc/atnguw
I would like to hide this one –> http://prnt.sc/atnfa6
and this one –> http://prnt.sc/atnfdw
please note that I don’t want to use the screen options (in the upper right). It hides things for specific users, not globally… so, when a different vendor registers, these things still show on his woocommerce add product page.
Thank you…!
Hello,
Please provide us with FTP credentials.
Regards,
Eva Kemp.
here you go
Hello,
Have you changed WP credentials?
We can’t log in now.
Regards,
Eva Kemp.
let’s do this again (below) 🙂
Hello,
I’ve added this code in child functions.php file:
add_filter( 'hidden_meta_boxes', 'custom_hidden_meta_boxes' );
function custom_hidden_meta_boxes( $hidden ) {
$hidden[] = 'mymetabox_revslider_0';
return $hidden;
}
add_filter( 'hidden_meta_boxes', 'custom_hidden_meta_boxes_2' );
function custom_hidden_meta_boxes_2( $hidden ) {
$hidden[] = 'product_options';
return $hidden;
}
Please check Products admin panel now.
Regards,
Eva Kemp.
I would like to hide more options (brands, tags, product video). How do you find/know the names of these options (‘product_options’, ‘mymetabox_revslider_0’) please???
Hello,
You can find the ids via Inspect element tool in Chrome browser:
for example for Brands http://storage9.static.itmages.com/i/16/0418/h_1460990477_3428546_1b784e330f.png .
Please note the function “custom_hidden_meta_boxes_2” should be always unique for each new code you add.
Regards,
Eva Kemp.
I accomplished hiding a few more but these are being quite stubborn –> http://prnt.sc/ats4wp
I used the below code for them:
add_filter( 'hidden_meta_boxes', 'custom_hidden_meta_boxes_7' );
function custom_hidden_meta_boxes_7( $hidden ) {
$hidden[] = 'postdivrich';
return $hidden;
}
add_filter( 'hidden_meta_boxes', 'custom_hidden_meta_boxes_8' );
function custom_hidden_meta_boxes_8( $hidden ) {
$hidden[] = 'composer-switch';
return $hidden;
}
doing something wrong???
Hello,
You can remove VC switcher in Visual Composer > Role Manager > Post Types > uncheck “product”.
Regards,
Eva Kemp.
It doesn’t work Eva… I already tried it… I disabled every single option for any role other than the admin, but the VC switcher still shows in the back end of the vendors
Hello,
In this case you have to contact the authors of the plugin “YITH WooCommerce Multi Vendor Premium” and ask how to disable product editor for vendors.
Regards,
Eva Kemp.
ok Eva… thank you…
Hello,
You’re welcome.
Regards,
Eva Kemp.
The issue related to '‘Additional Product Options’' has been successfully resolved, and the topic is now closed for further responses