Remove reviews on description single product năm 2024

If you wish to remove review star from the product page, you can simpley add the below codes on the theme.liquid file.

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code just above tag </body>

<style>
.product-description-main-wrapper .spr-badge {
    display: none;
}
.product-description-main-wrapper span.stamped-product-reviews-badge {
    display: none;
}
</style>

Result:

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

With the hook below, I can add above the price, but I can’t remove the stars from the original location.

That is, the stars appear in two different positions.

What would be the correct hook to remove the stars from their original position?

remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 3 );

In this post we will show you how to remove the Woocommerce tabs on the Single Product Pages. To do this, you need to add the code snippets below to your functions.php file. We will show you how to remove the “Description”, “Reviews” or all tabs.

Remove the Description Tab

The long description of the products is displayed in the “Description” tab. This tab is automatically removed from individual products if no information is available. If you want to remove the tab from all products, use the code below.

add_filter( 'woocommerce_product_tabs', 'arrow_design_remove_description_tab', 11 ); function arrow_design_remove_description_tab( $tabs ) { unset( $tabs['description'] ); return $tabs; }

Remove the Reviews Tab

The “Reviews” tab can be disabled either for specific products individually or globally for all products.

Remove Reviews Tab Individually

To remove the tab from individual products, go to the product’s settings and uncheck the “Enable reviews” checkbox in the “Advanced” tab.

Remove reviews on description single product năm 2024

Remove Product Tabs on Single Product Page Individually

Remove Reviews Tab from All Products

To remove the “Reviews” tab from all products, go to Woocommerce –> Settings –> Products –> Reviews and uncheck the “Enable product reviews” checkbox.

Remove reviews on description single product năm 2024

Remove Product Tabs on Single Product Page All Products

You can also remove the “Reviews” tab for all products with this code:

add_filter( 'woocommerce_product_tabs', 'arrow_design_remove_reviews_tab' ); function arrow_design_remove_reviews_tab( $tabs ) { unset( $tabs['reviews'] ); return $tabs; }

Remove all Tabs

If you want to remove all tabs at once, including the “Additional Information” tab, use the code below. (This does not work for custom tabs that have been added by a plugin, for example).

add_filter( 'woocommerce_product_tabs', 'arrow_design_remove_all_product_tabs', 98 ); function arrow_design_remove_all_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; }

Conclusion

As you have seen in this Remove Product Tabs on Single Product Page post, it is very easy to remove the tabs from the Woocommerce single product pages. You can find more articles here:

Read another Woocommerce post : ‘Hide all Shipping Methods but Free Shipping‘

Arrow Design, based in Dublin, Ireland, provides quality website design services in Dublin and beyond at affordable prices. If you would like help with implementing the above code, or any wordpress website development project, contact us. We love website design and it shows! We provide custom wordpress plugin development, website design training and lots more.

We do it all, so you don’t have to!

Remove reviews on description single product năm 2024

Woocommerce Account Page Hook Guide

In this article you will find a visual hook guide for the Woocommerce Account Pages, like the Login/Register page, the Downloads page or the Orders page.

Remove reviews on description single product năm 2024

Woocommerce Single Product Page Hook Guide

In this article you will find a visual hook guide for the Woocommerce Single Product Page. This should help you to quickly and easily find the hook positions on the page.

Remove reviews on description single product năm 2024

Woocommerce PHP – Product Categories by Product ID

In this tutorial you will learn how to check if a product is assigned to a tag, a category or a custom taxonomy. You can check if a product is is on the shop page, in the cart, in an order & more.

How do I remove the Review tab from a single product page in WooCommerce?

To remove the reviews tab from a specific product page, go to the WooCommerce settings of that product and uncheck the “Enable reviews” checkbox under the Advanced tab. To disable reviews and remove the reviews tab on a global level you can do it under WooCommerce settings > Products > Enable Reviews.

How do I turn off product reviews?

Scroll down to the section Reviews on the Products page, where there is an option called Enable product reviews. You must then uncheck this option. Once completed, the WooCommerce product reviews for all items will be disabled.

How do I remove product reviews from WooCommerce?

Click on the Products tab on the settings page. Look for the Enable Products Reviews option on the products page, which should be checked for the reviews to be shown. If you uncheck this box, the WooCommerce reviews will be deactivated. Remember to click on Save Changes button to end the process.

How do I turn off comments in WooCommerce?

You can disable product reviews by turning them off in the settings. Go to WooCommerce > Settings > Products and uncheck Enable product reviews .