Your account expired support, please renew to get your support.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #35824
    marcomarasco
    Support Expired

    Hi,
    is it possibile delete “Reviews” from previews product, in home page and everywhere?
    Thanks

    #35943

    Sorry for the late response.

    About this issue, please follow the guide here: https://iconicwp.com/blog/disable-woocommerce-product-reviews/

    #35954
    marcomarasco
    Support Expired

    Hi,
    I mean this: https://prnt.sc/Dzgq5VZa1p0A
    Thanks a lot

    #35962

    Please add this code to the file functions.php:

    function technocy_woocommerce_template_loop_rating() {
            global $product;
            $count = $product->get_review_count();
    if ( $count && wc_review_ratings_enabled() ) {
            echo '<div class="technocy-count-review">' . wc_get_rating_html($product->get_average_rating()) . '<span>';
            printf(esc_html(_nx('%1$s Review', '%1$s Reviews', $count, 'Review Count', 'technocy')),
                number_format_i18n($count)
            );
            echo '</span></div>';
    }
        }
    #35975
    marcomarasco
    Support Expired

    I added the code with Snippets plugin but show this error:

    Snippet automatically deactivated due to an error on line 2:
    Cannot redeclare function technocy_woocommerce_template_loop_rating.

    #36004

    Please add this code directly to the functions.php file (child-theme) and not through the Snippets plugin

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.