?> %"> <strong itemprop="ratingValue" class="rating"><?php echo esc_html($average); ?> </strong> <?php printf(__('out of %s5%s', 'woocommerce'), '<span itemprop="bestRating">', '</span>'); ?> <?php printf(_n('based on %s customer rating', 'based on %s customer ratings', $rating_count, 'woocommerce'), '<span itemprop="ratingCount" class="rating">' . $rating_count . '</span>'); ?> </span> <?php # start: modified by Arlind Nushi lab_wc_show_rating($average); # end: modified by Arlind Nushi ?> </div> <?php if (comments_open()) { ?> <a href="#reviews" class="woocommerce-review-link" rel="nofollow">(<?php printf(_n('%s customer review', '%s customer reviews', $review_count, 'woocommerce'), '<span itemprop="reviewCount" class="count">' . $review_count . '</span>'); ?> )</a><?php } ?> </div>
?> "> <span class="hidden" style="width:<?php echo $rating / 5 * 100; ?> %"><strong itemprop="ratingValue"><?php echo $rating; ?> </strong> <?php _e('out of 5', 'woocommerce'); ?> </span> <?php # start: modified by Arlind Nushi lab_wc_show_rating($rating); # end: modified by Arlind Nushi ?> </div> <?php } ?> <?php if ($comment->comment_approved == '0') { ?> <p class="meta"><em><?php _e('Your comment is awaiting approval', 'woocommerce'); ?>