Hello,
Rank Math takes the schema data from your product pages automatically and turns it into Schema-ready content. The screen that you have referenced will be available in custom post types that have been assigned the product rich snippet.
The aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.
http://i.mythemeshop.com/cIBqH4
If you don’t have any reviews yet, that is going to show up as a warning in the schema testing tool. That’s because Google will actually look for those fields.
Please acquire some reviews and ratings to get rid of the aggregateRating
and review
warnings.
You can fix the SKU and availability issue easily as well:
To fix the brand
warning, head over to WordPress Dashboard > Rank Math > General Settings > WooCommerce
and choose from any of the available fields to use as your product’s brands.
If you want to use a custom value for your Brands, you can do that by using the following code in your theme’s functions.php file:
// Add Brand for Products.
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
$entity['brand'] = 'Rank Math;
return $entity;
});
Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hello,
I already do this steps, without stock quantity. I have product reviews, sku numbers, brand as product tag, but have a warning in the schema testing tool.
I have updated the sensitive data as requested. Can you please check further?
Thank you.
-
This reply was modified 5 years, 1 month ago by Dobri.
-
This reply was modified 5 years, 1 month ago by Dobri.
Hi There,
Thanks for the follow up.
I’d love to have a closer look at your site and try to help.
Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
The developer made some changes to the site yesterday. I would like to wait a few days to see the effect. There is hope for a solution to the case. Thanks!
Hello,
Thank you for the feedback.
Feel free to reach out in case something else comes up 🙂
​​​​​​
The problem is solved. Thank you!
Hi there,
Thanks for the follow up.
Feel free to contact us should any other problems come up 🙂
Thank you.