Home Forums Basel support forum Hiding Description and Reviews

Hiding Description and Reviews

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2836

    londongeorge
    Participant

    Hey is there a way to hide the description and reviews on the product page?

    http://winya.flywheelsites.com/products/seating/beech-stool-low/

    #2848

    Artem Temos
    Keymaster

    Hello,

    Thank you for your question.

    Simply add the following code snippet to the Custom CSS in Theme settings to remove them

    .single-product-content .product-tabs-wrapper {
        display:none;
    }

    Regards

    #2849

    Artem Temos
    Keymaster

    Or if you need just hide particular tabs try to add this code to the file functions.php in the child theme

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

    Regards

    #2859

    londongeorge
    Participant

    Thank you! Worked like a charm!

    #2861

    Artem Temos
    Keymaster

    Great, you are welcome 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Hiding Description and Reviews’ is closed to new replies.