Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
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
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 have the same problems and errors in GSC.
Missing field “aggregateRating”
Missing field “priceValidUntil”
No global identifier provided (e.g., gtin, mpn, isbn)
And on my pages doesn`t appear that option to leave a review. How can i put that option for users to leave a review for the product? Thank you!
my website: https://merent.dk
-
This reply was modified 4 years, 4 months ago by Iuliana Scarlat. Reason: to put my website in the comment!
Hello luliana,
Are you using WooCommerce? If yes, you can enable product reviews just as explained in this guide: https://www.ostraining.com/blog/woocommerce/reviews/
Looking forward to help you.
Hello, Alberto,
I used the code you published in this thread to fix the error in the Search Console Missing field ‘brand’ (optional), but the structured data test tool gives me the following error: Rank Math (Google does not recognize the Elisabeth Llorca property as a Product type object.)
Elisabeth Llorca is the brand of our products, there is something that escapes me, I have to put another value?
I appreciate your help,
Greetings
Translated with http://www.DeepL.com/Translator (free version)
Its me Iuliana Scarlat,no i dont use woocommerce.
Hello,
@victor, I checked your shop page and ne of your products on Rich results test and Structured data and the Warnings are still showing including the brand warning. Did you remove the added code.?
@Scarlat, you could use a Review plugin to add reviews to your site.
Looking forward to helping you. Thank you.
Yes,i use WP Review PRO from mythemeshop 🙂
Hello Scarlat,
And using that plugin do you still have your issue? Or is it now solved for you?
Looking forward to help you.
Hi Alberto,with WP Review Pro i have no problems,its good,only with review schema from RM i had problems in GMB. Thank you!
Hello,
Could you please share with us the affected URL(s) so we can check this from our end.
Looking forward to helping you. Thank you.
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.