Home Forums WoodMart support forum collection page do not show reviews

collection page do not show reviews

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #380799

    yangzhankun
    Participant

    Product details page shows yotpo reviews, but collection page doesn’t show reviews。

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

    Luke Nielsen
    Keymaster

    Hello,

    Most likely it’s the issue of the “Yotpo” plugin because it doesn’t change the HTML structure on the “Shop” page therefore there are no stars.

    In the meantime, please feel free to ask any questions you may have!

    Kind Regards

    #380880

    yangzhankun
    Participant

    no, I found that a lot of people had this problem. For example: https://xtemos.com/forums/topic/adding-review-stars-on-product-grid-item/

    #380992

    Luke Nielsen
    Keymaster

    Hello,

    From that topic, the customer wanted the default WooCommerce star rating, but in your case, you are using it from a third-party plugin that doesn’t add its own HTML to the product for showing the rating from the plugin.

    Please, try to contact their support team.

    Kind Regards

    #381665

    yangzhankun
    Participant

    How can i add yotpo star rating code in shop page?

    #381723

    Luke Nielsen
    Keymaster

    Hello,

    The “star rating” from the “Yotpo” plugin is not related to our theme so please try to contact the “Yotpo” plugin support team to further solve the problem.

    Thanks for your time and have a great day.

    Kind Regards

    #381736

    yangzhankun
    Participant

    This is the text I added to the functions php file. where should i add

    if ( function_exists( ‘wc_yotpo_show_widget’ ) ) { add_action( ‘woocommerce_after_single_product’, ‘wc_yotpo_show_widget’, 15 ); }

    #381825

    Luke Nielsen
    Keymaster

    Hello,

    Judging by your code, it works only with the single product page therefore you need a new code that will work with the shop archive page too.

    https://monosnap.com/file/WjgpBWpD4eiQXKZkhkR1ePAnXCD4dW

    Also, this code should be added to the functions.php file.

    If there’s anything else we can do, please get in touch.

    Kind Regards

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