get_review_count(); if ( get_option( 'woocommerce_enable_review_rating' ) === 'yes' && $count ) { /* translators: 1: reviews count 2: product name */ printf( esc_html( _n( '%1$s review for %2$s', '%1$s reviews for %2$s', $count, 'ayyash' ) ), esc_html( $count ), '' . esc_html( get_the_title() ) . '' ); } else { esc_html_e( 'Reviews', 'ayyash' ); } ?>

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

get_id() ) ) : ?>
have_comments() ? __( 'Add a review', 'ayyash' ) : sprintf( __( 'Be the first to review “%s”', 'ayyash' ), get_the_title() ), /* translators: %s: Author of the comment being replied to. */ 'title_reply_to' => __( 'Leave a Reply to %s', 'ayyash' ), 'title_reply_before' => '', 'title_reply_after' => '', 'comment_notes_after' => '', 'fields' => [ 'author' => '

' . '

', 'email' => '', ], 'label_submit' => __( 'Submit', 'ayyash' ), 'logged_in_as' => '', 'comment_field' => '', ]; $account_page_url = wc_get_page_permalink( 'myaccount' ); if ( $account_page_url ) { /* translators: %s: Login URL */ $comment_form['must_log_in'] = ''; } if ( get_option( 'woocommerce_enable_review_rating' ) === 'yes' ) { $comment_form['comment_field'] = '
'; } $comment_form['comment_field'] .= '

'; comment_form( apply_filters( 'woocommerce_product_review_comment_form_args', $comment_form ) ); ?>