Hi, I am using the product schema on one of my posts and keep getting an error message in Google search console: “Invalid floating point number in property ‘price'”
I think it’s because Google wants the price to be 189.95 instead of 189,95 – so a dot instead of a comma. I have tried using a dot and save the post multiple times but when I check again it is still a comma there.
It seems like RankMath doesn’t allow me to save the schema with a dot as a separator in the price field.
Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.
Please make sure to use our standard Woocommerce Product schema as this will automatically pick up the correct price, the currency, and the correct cent separator.
If you have already done that and the issue persists, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.
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:
Hi, I’m not using WooCommerce on this website. It is not a shop. I used product schema on a review article for a product I have written a review about. Any way I can solve this issue without using WooCommerce?
Are you using any alternative product platforms for your websites like Ecwid, BigCommerce or EDD? Or, are you just simply using regular pages with product schema in it?
With that said, we would like to further check this one over your admin dashboard. Please share your WordPress login as instructed here.
I tried replacing the comma with a dot many times before I contacted RankMath support – but the schema never saved. Always jumped back to comma.
I followed the instructions for Chrome error detection. See screenshot in sensitive data section.
The first errors in the list are all related to the plugin “Thirsty Affiliate” – I need the plugin to be active because it handles all the affiliate links on the website.
Can you please check if you have any firewall that may be blocking our API route preventing you to save your schema? You may refer to our guide here: https://rankmath.com/kb/meta-data-not-saving/
Let us know if the issue persists, we are here to help you.
I’m using Cloudflare CDN (free plan) – I believe this includes some sort of firewall. However, I couldn’t find any way to whitelist those RankMath files.
It would seem like a conflict with one of the plugins or the theme you are using. Generally, if the Chrome console is showing any red errors, then many other functionalities might stop working.
Using the above instructions, we can find out which plugin is conflicting and once we find out that, we will try to recreate that issue on our setup and debug it further.
Here is a video you can follow as well:
Only the site admin would know, and your users won’t be affected by this troubleshooting.
Could you please let us know what variable you are using for the price in the Schema markup? Please note that whatever variable you are using for this it should follow the same settings for WooCommerce in regard to the decimal separator.
Don’t hesitate to get in touch if you have any other questions.