Hello,
Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.
You should not use multiple schema for the same product, Please consider removing the one. The product schema should apply automatically for your woo-commerce products.
and I’m getting the error: Missing Field “Price” on both crawled URLs, but the price and sale price are set.
It looks like you haven’t set the Price property for the product schema, See the screenshot for your reference:
https://ibb.co/Fzcgbmt
Looking forward to helping you.
Thanks, for the reply
Question: How do I set the price? I can’t find this setting.
Thanks.
I’m not using woocommerce on the site.
Hello,
Thank you for your reply.
Well, I have added the price of the product inside the schema. You can see by editing the schema of that product and the Google rich result also seems to be valid.
You can see the result here:
https://search.google.com/test/rich-results?id=uJMd_J0uYh_wBH4QZTYRyQ
You can follow this guide to learn more about configuring the product schema:
https://rankmath.com/kb/product-schema/
Looking forward to helping you.
Do I have to add manually the price to every product in the schema?
Thanks
Hello,
Thank you for your reply.
Yes, You need to add the price manually for your products.
You can also use the following filter and modify it according to your needs.
/**
* Filter to modify Rank Math product schema data
* Replace $schema_type with schema name like article, review, etc.
* @param array $entity Snippet Data
* @return array
*/
add_filter( "rank_math/snippet/rich_snippet_product_entity", function( $entity ) {
return $entity;
});
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Wow…, complicated, if the price is changing on 100 products I have to manually change the price on all of them…, or the price remains, and Google will index the product with that price, and when a customer visits the site will be another price?
This is not a really easy thing to do every day.
Thanks.
Hello,
Thanks for getting back to us.
If you were using WooCommerce on your website you could have used the WooCommerce Product Schema which takes the data directly from your products and updates the Schema accordingly.
However, since you are not using WooCommerce for your products, you need to manually add the Schema and all the necessary information.
Hope this helps clarify your doubts.
Don’t hesitate to get in touch if you have any other questions.
Thanks, but it’s not clarifying because it recognizes that is a product, but it’s not taking all the necessary data, and I have to edit 3000 products when the prices of the products are changed automatically by the updater of the dropshipping plugin, how to edit all the prices in one day, and every day when they are changing. This means, that I’m not gonna do anything else just changing prices in the schema. It wasn’t a problem until the last updates of RankMath.
Ok, this is it, what to say…
Hmm… just thinking: I will need an army of people to follow the price changes and to edit the product price in the schema so that Google index the products. 🙂
Thanks again.
Hello,
Thanks for getting back to us.
As previously mentioned, the Schema will only take the data automatically if it’s a product coming from WooCommerce and there’s the WooCommerce Product Schema applied to those products.
Since you are not using WooCommerce for your products you can’t take advantage of that functionality, thus needing to manually update those values in the Product Schema.
Having said that, it seems that either some other plugin or your theme is already outputting the Product Schema with prices on your website, so you can just remove the Product Schema from Rank Math and use what already is working with all the data.
Hope this provides further clarity into the situation.
Don’t hesitate to get in touch if you have any other questions.
Something happened from this v2.7.0 Apr 28, 2021 version, until this ver. of RankMath in webmaster tools there wasn’t any error 0, after this update, the errors started to grow.
Even then I didn’t have woo installed on site.
Just now I have announced you because I thought that it was something else until now and I was trying to fix it.
Thanks.
Also in this version when it was fixed this:
“Fixed: Posts column showing Off in Schema instead of Article when the News Sitemap module was active. Though, it was not affecting the frontend output for the search engines”
on my site has changed on products, this is why I have added manually the product schema and now it appears duplicate links in webmaster.
Hello,
Thanks for getting back to us.
The reason it appears as duplicate is that there’s also another plugin on your website outputting Product Schema markup and thus the duplication.
Since that plugin seems to be outputting the correct Schema you could remove the markup that Rank Math produces by eliminating the Schema from your products and let that other plugin generate the correct markup.
I did the steps mentioned above on one of the products and as you can see there’s no more duplication of Schema: https://search.google.com/test/rich-results?id=6XPJg5pTMY-YQ1YNiE06wQ
Hope this helps.
Don’t hesitate to get in touch if you require any further assistance.
🙂 You forgot to mention the other plugin…