• After the last update, the rating stars disappeared, before passing the mouse over the product, the stars appeared between the product name and the add to cart button … did it happen to anyone else?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    We are truly sorry for the inconvenience. So far, no similar issues were reported and we are also unable to replicate the problem on our end neither was it present during the development and testing phase, but that doesn’t mean there isn’t a problem, so we really need your help.

    First, head over to Appearance > Customize > WooCommerce > Archives, and make sure the Rating element is enabled.

    Afterward, head over to Theme Panel > Scripts & Styles, and hit the save button a couple of times. Also make sure the entire cache is properly cleared, and let us know if the issue persists on your end.

    I also recommend going through this article: https://oceanwp.org/blog/oceanwp-20-coming-out-what-to-expect/

    We will be waiting for your feedback

    • This reply was modified 4 years, 3 months ago by Abhishek.
    Thread Starter dantecapelli

    (@dantecapelli)

    Hello, first thank you very much!

    Enabled Appearance> Customize> WooCommerce> Archives, Rating

    but now it is visible all the time.

    also “Theme Panel> Scripts & Styles, and hit the save button a couple of times” did not work …

    at the link you sent: https://oceanwp.org/blog/oceanwp-20-coming-out-what-to-expect/

    > “Archive product rating has been introduced as a separate element and does no longer hide on hover”

    I think that explains …

    If possible it would be very nice to also show the number of product reviews next to the stars “***** (50)”

    thanks again for all the support, I really love the Oceanwp theme, thanks for everything!

    Hi,

    Yes, you are right.

    Try the first snippet and check.

    function my_archive_review_count() {
    global $product;
    $review_count = $product->get_review_count();
    if ( $review_count != null ) {
    echo '<p>Based on ( ' . $review_count . ' ) review(s)</p>';
    }
    }
    add_filter( 'ocean_after_archive_product_rating', 'my_archive_review_count' );

    Hello,

    Archive product rating has been introduced as a separate element and does no longer hide on hover.

    How to get it back?

    Hi,

    For now, it doesn’t hide on hover but you can disable it via Customize > WooCommerce > Archives. It was introduced because 99% of our users did not want this displayed at all and using CSS to hide rating at that point distorted the entire grid look.

    But we will see with one of the future updates if we can add a show on hover as an additional feature.

    Thank you, I will wait for updates.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘products rating disappear after 2.0’ is closed to new replies.