Additional Product Options - by gurhan - on WordPress WooCommerce support

This topic has 17 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp

  • Avatar: gurhan
    gurhan
    Participant
    April 17, 2016 at 14:15

    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…

    16 Answers
    Avatar: gurhan
    gurhan
    Participant
    April 17, 2016 at 14:21

    I also would like to hide the “Revolution Slider Options” in the Woocommerce Add Product Page…

    Thank you…

    Avatar: Eva
    Eva Kemp
    Participant
    April 18, 2016 at 08:13

    Hello,

    Please show on a screenshot what you want to hide and provide WP admin credentials in private content.

    Regards,
    Eva Kemp.

    Avatar: gurhan
    gurhan
    Participant
    April 18, 2016 at 09:20

    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…!

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    April 18, 2016 at 11:08

    Hello,

    Please provide us with FTP credentials.

    Regards,
    Eva Kemp.

    Avatar: gurhan
    gurhan
    Participant
    April 18, 2016 at 12:24

    here you go

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    April 18, 2016 at 13:25

    Hello,

    Have you changed WP credentials?
    We can’t log in now.

    Regards,
    Eva Kemp.

    Avatar: gurhan
    gurhan
    Participant
    April 18, 2016 at 13:36

    let’s do this again (below) 🙂

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant
    April 18, 2016 at 13:49

    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.

    Avatar: gurhan
    gurhan
    Participant
    April 18, 2016 at 15:33

    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???

    Avatar: Eva
    Eva Kemp
    Participant
    April 18, 2016 at 15:41

    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.

    Avatar: gurhan
    gurhan
    Participant
    April 18, 2016 at 16:15

    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???

    Avatar: Eva
    Eva Kemp
    Participant
    April 18, 2016 at 16:33

    Hello,

    You can remove VC switcher in Visual Composer > Role Manager > Post Types > uncheck “product”.

    Regards,
    Eva Kemp.

    Avatar: gurhan
    gurhan
    Participant
    April 18, 2016 at 17:29

    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

    Avatar: Eva
    Eva Kemp
    Participant
    April 18, 2016 at 18:03

    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.

    Avatar: gurhan
    gurhan
    Participant
    April 18, 2016 at 18:35

    ok Eva… thank you…

    Avatar: Eva
    Eva Kemp
    Participant
    April 18, 2016 at 18:45

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 17 results - 1 through 17 (of 17 total)

The issue related to '‘Additional Product Options’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.