Home Forums Plugins WooCommerce Photo Reviews Get product rating value

Get product rating value

  • Author
    Posts
  • #25520

    hmaesta
    Participant

    Hello.

    It is possible to get the average rating value on product page?

    Something like <?php echo get_comment_meta( the_ID(), 'rating', true ); ?> to get 4.64, for example.

    (I don’t want the rating of a single comment, but the average rating for all reviews of a product)

You must be logged in to see replies to this topic. Click here to login or register