Hiding Description and Reviews
-
Hey is there a way to hide the description and reviews on the product page?
http://winya.flywheelsites.com/products/seating/beech-stool-low/
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
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
Thank you! Worked like a charm!
Great, you are welcome 🙂
The topic ‘Hiding Description and Reviews’ is closed to new replies.