Home Forums WoodMart – Premium Template add rating for category products

This topic contains 8 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 1 day, 18 hours ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #243488

    nefiliman
    Customer

    Hello, I would like to add stars and rating numbers under the products on the category page. as in the picture. I changed and edited the product category and brands from the content-product-alt.php page, but could not add the assessment. Could you help.

    • This topic was modified 4 days, 14 hours ago by  nefiliman.
    Attachments:
    You must be logged in to view attached files.
    #243557

    Hello,

    Please enable the rating in the Woocommerce > Settings > Products. As soon as a product gets a rate, it would be shown on the grid.

    Best Regards

    #243735

    nefiliman
    Customer

    yes I did it the way you mentioned. But it does not work, the customer rating does not appear below the products on the product category page. please browse the picture I have looked.

    Private Content Hidden
    #243786

    Hello,

    Please provide a few products that have the rates?

    Best Regards

    #243792

    nefiliman
    Customer

    I’ve done it to almost all products, but it still doesn’t appear under the products in the category.

    #243912

    Hello,

    Sorry, you need to change the design on hover as some design do not support showing them, I have set Standard and it works: https://prnt.sc/voht9f

    Try any and select another view.

    Best Regards

    #244084

    nefiliman
    Customer

    I added the number of comments to the products with the attached code, but I could not add the stars. Which code should I add for the stars, can you help?

    $rating_count = $product->get_rating_count();
    $review_count = $product->get_review_count();
    $average = $product->get_average_rating();
    echo ‘<div class=”woocommerce-product-rating”>’. __($review_count,) . ‘  yorum</div>’;

    Attachments:
    You must be logged in to view attached files.
    #244235

    nefiliman
    Customer

    ok i do it.

    #244315

    That is fine. If you have any questions please feel free to contact us.

    Best Regards

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

You must be logged in to reply to this topic.