-
Google ask me, from nothing these days, to put a price on product review. I only use a rating and nothing else until now.
NOW google want’s a price on all products.My products are free. So how can i set 0 or free price on every post that is using schema from rank math?
-
Hello,
Thanks for contacting us. Sorry for the delay and any inconvenience that might have been caused due to that.
Can you please share some of the affected products in the sensitive data section so we can check?
We really look forward to helping you.
‘Share’ / how can i put free on all products?
Hello,
Thanks for your reply.
I tested the link in your screenshot using Google’s Rich Results testing tool and I was able to replicate the error.
You can specify the price as “0” in the product schema to fix the issue. Please see this screencast for a quick reference: https://i.rankmath.com/NoOEbF
Hope this helps.
Thanks.
I know how to put 0 price, BUT i don’t know how to put 0 price on all 15k posts at once!
I will never update 15k posts manually and put 0 price.
So please, give me a solution to make this setting for all the posts at once!
Hello,
Thank you for getting back to us.
The error you are showing in the previous link is related to your schema within your products.
There should be no value set if you do not have a price for the product. The field is meant to be used for products that have a price field.
Depending on the schema you are using that has the price field you can remove/hide it using a custom code as shown:
/** * 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 ) { unset($entity['offers']['price']); return $entity; });
This should unset the price field to not be shown in the schema.
Hope this helps. Let us know if you need further assistance.
Nothing works.
How can i convert all the review schema to article at once in the last version of rank-math? I don’t see that option in tools anymore
Hello,
Thank you for getting back to us.
With the latest version of Rank Math, the review schema is not a standalone schema. Google decided that only a few schema types that support reviews will be able to trigger review schema snippets. Here is the list, directly from Google’s blog post explaining the change.
In case you want to switch all your products/pages to stop using one of the supported schema types that have reviews to have the article schema you need to use the global settings. See screenshot: https://i.rankmath.com/eMjhDB
However, this will take effect for new pages that you create.In case you want to have the pages have the article schema, then you can use the display conditions to automate your Schema implementation:
https://rankmath.com/kb/rich-snippets/#display-conditions-proHowever, you may have to use the Pro version of the plugin to achieve this.
Regarding your previous issue, you can as well present us with some of your affected product URLs for further testing.
Hope this helps. Let us know if you have any other questions.
Is there any method to delete all the schema settings from database and reset it to article type standard?
I know nowdays everything is about buying pro and nothing is available to free users, but come on, it has to be something witch can help me.
Can you please upload the last year version, to install convert and get back to new version?
Hello,
Thank you for getting back to us.
Unfortunately changing the reviews schema to article from the database would not be possible as each post has an id of itself.
With the Pro version, you could have used the bulk editing options to set all your posts to have the article schema as the default schema type as shown here: https://rankmath.com/kb/bulk-editing-in-rank-math/#3-11-set-schema-markup-to-default-type-pro
Meanwhile, you can use this filter to remove the schema data from your posts if you wish not to go with the Pro version method: https://rankmath.com/kb/filters-hooks-api-developer/#remove-schema-data-from-posts
Regarding the convert option, it is used to look for schema issues on your website and regenerate the schema for you if you are having any issue with that specific schema type.
We are looking forward to helping you.
Thank you.No worry anymore, i used a nulled pro version and fixed the god damn thing.
Hello,
Glad you were able to resolve that.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.
The ticket ‘schema product price problem’ is closed to new replies.