Single product page, remove products features under short description

This topic has 4 replies, 2 voices, and was last updated 2 years, 10 months ago ago by Olga Barlow

  • Avatar: maestro
    maestro
    Participant
    February 1, 2022 at 09:54

    how to remove products features added automatically under short description such as (product weight) as well as the tab with the extra features added.
    How to disable tags from not showing in single product page.

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 1, 2022 at 19:03

    Hello,

    Add the below code to Theme Options > Custom CSS

    .product-information-inner .product-attributes {
        display: none;
    }

    Regards

    Avatar: maestro
    maestro
    Participant
    February 1, 2022 at 19:49

    thanks
    that works for short description but I still get an extra tab with additional information.
    I would like this tab not to be displayed .
    Remove tags from not displayed as well.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    February 1, 2022 at 20:56

    Hello,

    If you don’t want to show Additional Information tab then add the below code to your child theme functions.php

    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;
    }

    https://woocommerce.com/document/editing-product-data-tabs/

    Replace the previous CSS code with this one if you want to remove also product tags

    .product-information-inner .product-attributes, .product_meta .tagged_as {
        display: none;
    }

    Regards

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

The issue related to '‘Single product page, remove products features under short description’' 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.