• Resolved hanneslf

    (@hanneslf)


    The Rating count at the top of the Product page beside the Customer Reviews link is correct However the Rating Count for the Star Rating and “based on” is from the comments/reviews left before the plugin was installed. AS SUCH the star rating is wrong.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter hanneslf

    (@hanneslf)

    OK – the option “Override WooCommerce Theme” set to YES fixes this how ever I am back to the other problem I had which I mentioned in “[submit-review] Tag and Pagination” post.

    Overiding the rating.php template under single-product in woocommerce and replacing href=”#reviews” with href=”#tab-reviews” has worked. Also the Yootheme template we use has an option for smooth scrolling so by adding data-uk-smooth-scroll=”{offset: 99}” to the a tag it scrolls down rather than jumps.

    I can add the same code to the WC_Rating.php file in ultimate-reviews/html but as this is not in a templates folder I can not override this file in the sites theme folder. Why do you not have the standard template overriding structure?

    Thread Starter hanneslf

    (@hanneslf)

    While I was at it I changed

    $average = $EWD_URP_Rating = EWD_URP_Get_Aggregate_Score($Post_Data->post_title);

    to

    $average = number_format($EWD_URP_Rating = EWD_URP_Get_Aggregate_Score($Post_Data->post_title),1);

    As it was giving a 10 digit number.

    Again is there any way to use the standard override structure?

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi hannes,

    If you could elaborate on what you mean by the standard override structure, it might be helpful.

    For the scrolling down when you click on the rating score, as previously mentioned, we have noted it down as a feature suggestion. We haven’t yet been able to alter that. Thank you for sharing what you did. We hope to get that feature in there soon.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Star-rating and Rating Count’ is closed to new replies.