I installed the latest version yesterday. and everything is filled in.
but i got still:
Er moet een van ratingCount of reviewCount zijn opgegeven.
In english something like: an ratingcout or reviewcount must be set
https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fgadget-freakz.com%2Fproduct%2Fxiaomi-e-bike%2F
It looks like that error is coming from the Structured Data inserted by WooCommerce, not by WP Review Pro. To disable this feature in WooCommerce, I can add the following code to the functions.php file in my child theme (a tip from wp-review author):
add_action( ‘init’, ‘mts_remove_json_ld_frontend’ );
function mts_remove_json_ld_frontend() {
remove_action( ‘wp_footer’, array( WC()->structured_data, ‘output_structured_data’ ), 10 );
}
This should remove the “Product” Structured Data altogether, however, that might not be an ideal solution. It would be better to remove only the “Review” data from inside the “Product” data. You may need to consult with a developer on how to do that. Nevertheless, you can try the above code, just to verify that the issue is related to the WooCommerce Structured Data.
Can tagdiv help me please?
Hello !
After a bit of research I’ve found this topic related to your issue: https://surniaulula.com/2019/apps/wordpress/plugins/wpsso/google-missing-product-id-for-woocommerce-solution/
As a short description it says that google faces that issue do to the lack of SKU in woocommerce and after inspecting your website i’ve noticed that you do not have any. Try adding a SKU before. That’s what I would do.
Thank you !
Hi Vlad,
I have entered some more info (just entered some details) but still getting:
https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fgadget-freakz.com%2Fproduct%2Fxiaomi-e-bike%2F
google give a error about: ratingCount of reviewCount but when I click on it, it goes to aggregateRating”:{“ratingValue”:4.38,”bestRating”:5}
Hi,
Please check this article about schema for woocommerce -> https://rich-snippets.io/schema-for-woocommerce/ hope this will help you!
Thank you!