Dear Vera,
We hope this message finds you well.
We are pleased to inform you that we have updated the custom codes as follows:
add_filter('woocommerce_product_get_rating_html', function($html, $rating, $count) {
$label = sprintf( __( 'Rated %s out of 5', 'woocommerce' ), $rating );
$html = '<div class="star-rating" role="img" aria-label="' . esc_attr( $label ) . '">' . wc_get_star_rating_html( $rating, $count ) . '</div><span class="rate-count">('.$count.')</span>';
return $html;
}, 10, 3);
Additionally, we have implemented the following custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:
.single-product a.woocommerce-review-link {
display: none;
}
Could you please review these changes at your earliest convenience? Your feedback is very important to us.
Best regards,
8Theme’s Team