* @author WooThemes * @package WooCommerce/Templates * @version 2.3.2 */ if (!defined('ABSPATH')) { exit; // Exit if accessed directly } global $product; if (get_option('woocommerce_enable_review_rating') === 'no') { return; } $rating_count = $product->get_rating_count(); $review_count = $product->get_review_count(); $average = $product->get_average_rating(); ?> <div class="woocommerce-product-rating" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <?php echo kt_get_rating_html('', $rating_count); ?> <?php if (comments_open()) { ?> <a href="#reviews" class="woocommerce-review-link" rel="nofollow">(<?php printf(_n('%s customer review', '%s Reviews', $review_count, 'kute-boutique'), '<span itemprop="reviewCount" class="count">' . $review_count . '</span>'); ?> )</a><?php } ?> </div>
if (!defined('ABSPATH')) { exit; // Exit if accessed directly } global $product; if (get_option('woocommerce_enable_review_rating') === 'no') { return; } $rating_count = $product->get_rating_count(); $review_count = $product->get_review_count(); $average = $product->get_average_rating(); if ($rating_count > 0) { ?> <div class="woocommerce-product-rating" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <?php echo kt_get_rating_html('', ''); ?> <?php if (comments_open()) { ?> <a href="#reviews" class="woocommerce-review-link" rel="nofollow">(<?php printf(_n('%s customer review', '%s customer reviews', $review_count, 'kutetheme'), '<span itemprop="reviewCount" class="count">' . $review_count . '</span>'); ?> )</a><?php } ?> </div> <?php }
echo '<em class="verified">(' . esc_html__('verified owner', 'kute-boutique') . ')</em> '; } } ?> – <time itemprop="datePublished" datetime="<?php echo get_comment_date('c'); ?> "><?php echo get_comment_date(wc_date_format()); ?> </time>: <?php if ($rating && get_option('woocommerce_enable_review_rating') === 'yes') { ?> <?php echo kt_get_rating_html('', $rating); ?> <?php } ?> </div> <?php } ?> <?php do_action('woocommerce_review_before_comment_text', $comment); ?> <div itemprop="description" class="description"><?php