Hello,
Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.
I checked your pages with Google’s Rich Results Test and all of them are eligible for rich results.
You can also check here: https://search.google.com/test/rich-results
The tool you’re using is no longer recommended by Google. Please use the rich results test. And the warnings you’re being shown are for optional fields. If you don’t want to enter those details then you can simply ignore them.
Hope this helps. Let us know if you need any further assistance.
Hi Jaideep,
I am getting those errors in Google Search Console. I cannot ignore those. Screenshot: https://i.imgur.com/oa2F6x5.png
Can you let me know how can I add those schema fields so that the Google Search Console gets happy and don’t show these things? Like for example, Brand is missing. How can I add a brand? I am totally clueless on how to fix these things., Any help?
Hello,
Thanks for getting back.
1. For adding the Brand value, please navigate to WP Dashboard > Rank Math > General Settings > WooCommerce, you’ll find a dropdown menu for the Select Brand option.
If you want to use custom value for your brand then select the Custom option from the drop-down list.
Once you select Custom you can add a Brand value that you want to use in Schema.org and OpenGraph markup. Once done save your changes.
2. priceValidUntil: You can set it inside WooCommerce like this:
3. You can use WP Reviews Pro to show Reviews & aggregateRatings in your product schema.
Hope this helps. Let us know if you need any further assistance.
Hi,
I don’t see Custom as an option under the brand. Is available only in Pro?
Hello,
I apologize for the confusion. Yes, that feature is available in the PRO version. You can use the code given below to use a custom brand. Copy the code and paste it in your theme’s/child 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;
});
Hope this helps. Let us know if you need any further assistance.
Thanks, Jaideep for the snippet. So, just to be sure I will set the dropdown inside the settings for Brand as None and then overwrite it in code right?
Hello,
Thank you for the follow-up, and sorry for the delay.
Yes, you’ll need to choose the Brand as None and insert the filter/code in your theme’s functions.php file.
I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance.
Thank you so much for confirming that Reinelle.
Hello,
You’re very welcome.
We are super happy that we have addressed your concerns. If you have any other questions in the future, know that we are here to help you.
If you don’t mind us asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.