collection page do not show reviews
-
Product details page shows yotpo reviews, but collection page doesn’t show reviews。
Attachments:
You must be
logged in to view attached files.
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
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
How can i add yotpo star rating code in shop page?
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
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 ); }
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