-
-
Save jameskoster/4518617 to your computer and use it in GitHub Desktop.
// Remove the product rating display on product loops | |
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 ); |
where do i put this line of code, i'm completely new to this, help?
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 );
This is not working for me.
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 );
not working for me either
This is not working anymore
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 );
In this way, you could now take it off
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );
Not working anymore again.
This is not working anymore
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_rating', 5 );
In this way, you could now take it off
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );
But how do I do the other way? I am using e-commerce gem theme for my woocommerce site. and by default, star ratings are disabled on shop page and category page. How do I enable it now? By the way, I am using a child theme.