-
Either “offers”, “review”, or “aggregateRating” should be specified
I am now receiving the above error in search console for a number of products. I have Rank Math PRO and but default am using the WooCommerce schema markup.
-
Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience that might have been caused due to that.
Rank Math takes the schema data from your product pages automatically and turns it into Schema-ready content. Likewise, the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.
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
andreview
warnings.You can fix the SKU and availability issue easily as well:
To fix the
brand
warning, head over toWordPress 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.
If I choose not to manage stock at a product level will the schema error still exists?
I am also receiving errors that products are missing SKU’s when they are not..
Hello,
Thank you for keeping in touch with us.
Can you share the affected URL with us so we can deeply check it on our end?
Or, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP 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.
Here is an affected URL that GSC is saying there is no SKU for https://www.steetz.com/shop/aluminium-felling-lever-with-anti-slip/
Hello,
Testing your page, it says your
page is eligible for rich results
. There is no error on your schema, only warnings. Warnings signs are normally optional and not necessarily needed. If you want the warning signs to be fixed, you will have to go through the steps given.I hope this helps you with your issues.
but the warnings only started when I started using rank math…. so is there a reason why its doing this when Yoast did not? Even though they are warnings
Hello,
Thank you for the follow up.
There are three warnings on your product schema. Two are aggregate rating and review related while the third is on Global identifier.
Rank math has a closer integration with WooCommerce such that the data is taken directly from your product data. You will continue to see the missing reviews warnings until you have reviews. However, do note that these are only warnings and can be ignored as they are optional and do not affect your rankings. Without reviews, star ratings will not appear for your product search results in Google.
For the GTIN, ISBN, MPN issue, you can fix it by adding that to your products using the custom product attribute feature in WooCommere or you can use this plugin: https://wordpress.org/plugins/product-gtin-ean-uc-isbn-for-woocommerce/
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Can you help explain why is says there is also a missing skU, brand and image when there is not?
Hello,
Could you kindly share the other affected product URL so we could help you check further?
Based on the product link you’ve provided, it looks like the SKU, brand & image are all detected properly on the google test tool.
Please see the screenshots below:
– SKU
– Brand:
– Image:
As my colleague has noted above, If you’re using woocommerce product schema then all of your product data would be pulled automatically so you’ll need to make sure that your product has all the necessary data in place such as the SKU, Brand & Image.
We hope that helps. let us know if you need help with anything else.
Thank youu.
Also – will the products with errors not show up with rich search results at all because they do not have reviews? It seems strange that google would pick up no reviews as an error. If I turned reviews off would it remove the error?
Hello,
I checked the product URL in question and it only has the previously stated warnings, here is a screenshot: https://i.rankmath.com/hAm3cy
Something to note is that these warning may sometimes show up as errors on the related category pages, which seem to be the case with your site. You should disable product schema from categories by heading to Rank math > Titles & Meta > Product Categories and enable the option to remove snippet.
Hope this helps.
Ok I have used the remove snippet function for all the categories and tags sections.Will this remove all schema data? Will these results still be available in search results as they are still checked as Index? DO I need to also check off the No Snippet for Robots.txt meta?
Hello,
Thank you for following up, and sorry for the delay.
The Remove Snippet Data will only remove the schema for your product category archives. Yes, they are still available in the search results since they are indexed.
For your last question, are you referring to Category Archives Robots Meta? If so, this option is only setting a default robots meta tag for your product category archives. This can still be changed individually if the Add SEO Meta Box is enabled.
You can check this link for more information and reference:
https://rankmath.com/kb/titles-and-meta/#category-archives-robots-meta-2I hope that helps. Thank you, and please don’t hesitate to contact us if you need further assistance.
Yes, if I have the Remove Snippet Data checked off but under the Category Archives Robots Meta the only thing checked off is index, do I need to check off anything else (such as no snippet?)
Also should all the categories have snippet removed? (products/post/portfolio)
Should I also remove snippet from the tags as well?
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.
The ticket ‘Error in GSC that rich snippets for WooCommerce’ is closed to new replies.