get_rating_count() ) { ?> get_average_rating(); ?>

'.$count.'', get_the_title() ); ?>

    'woocommerce_comments' ) ) ); ?>
1 && get_option( 'page_comments' ) ) : ?>

id ) ) : ?>

id ) ) : ?>
have_comments() ? __( 'Add a review', 'woocommerce' ) : __( 'Be the first to review', 'woocommerce' ) . ' “' . get_the_title() . '”', 'comment_notes_before' => '', 'comment_notes_after' => '', 'fields' => array( 'author' => '

' . ' ' . '*' . '

', 'email' => '', ), 'label_submit' => __( 'Submit Review', 'woocommerce' ), 'logged_in_as' => '', 'comment_field' => '' ); if ( get_option('woocommerce_enable_review_rating') == 'yes' ) { $comment_form['comment_field'] = '

'; } $comment_form['comment_field'] .= '

' . $woocommerce->nonce_field('comment_rating', true, false); comment_form( apply_filters( 'woocommerce_product_review_comment_form_args', $comment_form ) ); ?>