Okay
  Public Ticket #155139
Removing tabs from Woocommerce
Closed

Comments

  • Vince started the conversation
    Not sure if this is Salient related enough to ask this question here, but how do I get rid of the tabs section next/under the product? There seems to be a double styling in my layout, mixing the Salient with the Woo (showing 'Additional information' twice in different typo) – but I want to get rid of the tabs either way. See also the screenshot attached. Thanks in advance,
  • Vince replied

    Pasted this code in the functions.php and it removed the tabs.

    (source: http://docs.woothemes.com/document/editing-product-data-tabs/)

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