Skip to content
Create a gist now

Instantly share code, notes, and snippets.

WooCommerce - hide ratings on product loop
// Remove the product rating display on product loops
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 );

This is great


Thank you!


You rock!




Thanks! And what about ratings on current product?


Thank you!
For removing rating on single product:
remove_action('woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.