ResolvedHow do you add the number of reviews to the shop page?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23122
    rolltack
    Participant

    I’ve added this code to show the average star rating of a product on the shop page:

    .prod_hold .star-rating {
    display: block;
    position: absolute;
    bottom: 30px;
    left: 50%;
    margin-left: -54px;
    z-index: 100;
    opacity: 1;
    }

    but I also want to display the number of reviews on the right of the # of stars like this: (2)
    How can I do that?

    #23149
    Althemist
    Keymaster

    Hello rolltack,

    I am afraid that would not be possible. It’s not theme related, it’s how WooCommerce work. Number of reviews is only available on the product single page. It’s not part of the product post type loop.

    Regards,
    Dimitar

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register