Remove additiotional information tab - by joestam

This topic has 16 replies, 4 voices, and was last updated 3 years, 5 months ago ago by joestam

  • Avatar: joestam
    joestam
    Participant
    September 3, 2020 at 22:34

    Hello i am trying to remove the ”Additional Information” tab from my products but still appears. I have tried all the codes i found in the forum but….
    Is it possible to do it for me please?
    My coding knowledge is very poor.
    Thanks in advance.
    J.

    Please, contact administrator
    for this information.
    15 Answers
    Avatar: John Holden
    John Holden
    Support staff
    September 4, 2020 at 05:17
    Avatar: joestam
    joestam
    Participant
    September 16, 2020 at 09:51

    Hello i add the YITH WooCommerce Tab Manager plugin but still i cant remove the ”Additional Information”.
    Please take a look inside and if you please fix it.
    Thanks

    Please contact administrator
    for this information.
    Avatar: joestam
    joestam
    Participant
    September 16, 2020 at 09:52

    In the past when i use Code Snippets the Woocommrce crashes is there any other way to add the code of https://businessbloomer.com/woocommerce-remove-additional-information-tab/ ?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    September 16, 2020 at 15:31

    Hello,

    I have added the WooCommerce snippet http://prntscr.com/uicqfd and did not face any error. Everything works as expected.

    Regards

    Avatar: joestam
    joestam
    Participant
    September 19, 2020 at 11:44

    Thank you very much for your help!!!!!!!!!!!!!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2020 at 12:28

    You’re welcome!
    If you love XStore and have something nice to say don’t hesitate to tell about this!
    We’d appreciate if you could take a moment to give us 5-stars on ThemeForest! https://themeforest.net/downloads

    Regards

    Avatar: joestam
    joestam
    Participant
    November 13, 2020 at 09:39

    Hello, after the latest updates the ”Additional Information” is visible again. Is it possible to remove it please?
    Thanks

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 13, 2020 at 15:24

    Hello,

    Yes, use the WooCommerce snippet to remove this https://docs.woocommerce.com/document/editing-product-data-tabs/#section-1

    Regards

    Avatar: joestam
    joestam
    Participant
    November 16, 2020 at 11:43

    Dear Olga, for some reason the Code Snippet plugin created a problem on the page when we used it in the past. You had solved the issue in some other way. Please for your help to solve the problem.
    Thanks in advance.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 16, 2020 at 11:59

    Hello,

    Provide us with FTP access to your site. It’s not safe to edit the php files using the backend editor and we are locked because of the error.

    Regards

    Avatar: joestam
    joestam
    Participant
    November 16, 2020 at 12:12

    Dear Olga the site is down because of a problem with Child

    Avatar: joestam
    joestam
    Participant
    November 16, 2020 at 12:21

    FTP ACCOUNT

    Please contact administrator
    for this information.
    Avatar: joestam
    joestam
    Participant
    November 16, 2020 at 12:24

    Sorry is in Greek:

    ===========================================
    Ένα σφάλμα τύπου E_PARSE εντοπίστηκε στη γραμμή 16 του αρχείου /var/www/vhosts/pieriahotels.gr/isocks.gr/wp-content/themes/xstore-child/functions.php. Κωδικός σφάλματος: syntax error, unexpected ‘raw’ (T_STRING)

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 16, 2020 at 12:34

    Hello,

    Yes, we pasted some additional code that was not necessary.
    So, the final code is the following https://prnt.sc/vjzxq9 and it works fine.

    /**
     * Remove product data tabs
     */
    add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
    
    function woo_remove_product_tabs( $tabs ) {
        unset( $tabs['additional_information'] );  	// Remove the additional information tab
    
        return $tabs;
    }

    Regards

    Avatar: joestam
    joestam
    Participant
    November 16, 2020 at 12:36

    Dear Olga thank you very much!!!!

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

The issue related to '‘Remove additiotional information tab’' 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.