Website Building » WooCommerce » How Do I Remove the Review Tab in WooCommerce?

How Do I Remove the Review Tab in WooCommerce?

Last updated on January 17, 2023 @ 11:34 am

If you’re using WooCommerce to sell products on your WordPress site, you may have noticed the “Reviews” tab that appears on each product page by default. This tab allows customers to leave reviews and ratings for products they’ve purchased.

While the reviews tab can be helpful for some stores, others may find it unnecessary or even harmful to their business. In this article, we’ll show you how to remove the reviews tab in WooCommerce.

WooCommerce is a popular eCommerce plugin for WordPress that allows you to sell products on your site. One of the features of WooCommerce is the ability for customers to leave reviews and ratings for products they’ve purchased.

By default, these reviews are displayed on a separate “Reviews” tab on each product page.

Some store owners may find this feature helpful, as it allows customers to leave feedback about their experience with the product. However, other store owners may prefer not to display customer reviews for various reasons.

PRO TIP: If you are considering removing the review tab in WooCommerce, be aware that this could have negative consequences for your business. Reviews can be a valuable source of feedback for customers, and they can also help to improve your search engine ranking. If you do remove the review tab, make sure to let customers know how they can leave feedback elsewhere (e.g. on your website or social media).

For example, you may not want to display customer reviews if you’re selling products that are controversial or sensitive in nature. Or, you may simply not want to encourage customers to leave reviews because you’re not confident in the quality of your products.

Whatever your reasons for wanting to remove the customer reviews tab, it’s easy to do with a few lines of code. Just add the following code snippet to your theme’s functions.php file or a site-specific plugin:

<?php
function wc_remove_reviews_tab($tabs) {
  unset($tabs['reviews']);
  return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'wc_remove_reviews_tab', 98 );
?>

Note: If you’re not comfortable editing your theme’s code, we recommend hiring a developer to help you with this task.

Once you’ve added the code snippet above, the “Reviews” tab will be removed from all product pages on your site. If you ever want to add it back, simply remove the code snippet or deactivate the plugin that contains it.

Conclusion:

In conclusion, its easy to remove the review tab in WooCommerce by adding a simple code snippet. This is useful if you want to avoid displaying customer feedback or if you’re selling products that are controversial in nature.

Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.