Star rating missing from product pages

Back in 2014, 2015 the X woocommerce product pages had the star rating shown but it was later removed. I found this thread about the issue, but no update? Any solution to this with current versions?

Hey @SirRahikkala,

The thread you referred to is old and is not applicable today.

I see you have another thread regarding WooCommerce Star Rating here and it was solved.

I tested X and out of the box, it displays the star rating. I double checked.

If that is not working for you, it is possible that third party factor is causing it. In that case, you’ll need a third party developer to investigate further.

Thank you for understanding.

Hey Christian, your colleague wanted me to start a new thread. The rating is working as you show but as I said in original thread and the thread I linked and in this thread… the star rating average below product title was in the older versions but not anymore.

edit: Similar style as these other themes:

Thanks for the details. Here’s a snippet I tried that works.

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

add_action( 'woocommerce_single_product_summary', 'my_woocommerce_template_single_rating', 10 );

function my_woocommerce_template_single_rating() {
    global $product;

    if ( $product->post->comment_status === 'open' )
        wc_get_template( 'single-product/rating.php' );

    return true;
}

Since it requires custom code, fixing issues that will arise from the use of it and further enhancements including styling would require further custom development which is outside the scope of our support though. For that, you’ll need to hire a developer.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.