Schema markup issue

#486407
  • Resolved FS
    Rank Math free

    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.

    How can we fix this?

    Thanks
    Fabian

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

    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.
    Sensitive Data Section

    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:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    FS
    Rank Math free

    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?

    Hello,

    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.

    Looking forward to helping you.

    FS
    Rank Math free

    Just regular pages with regular RankMath Plugin Product Schema selected.

    Sorry but I don’t want to share the login to my website with people I don’t personally know. Hope you understand.

    Anas
    Rank Math business

    Hello,

    I imported the code from your webpage and replaced the comma with a dot and that fixed the error.

    Check the screencast in the sensitive data section.

    Please change the comma with a dot, clear the website cache and check with the Rich Snippet tool.

    If the Schema is not saved, please check if there are any errors in the browser console when you save the Schema:
    https://rankmath.com/kb/meta-data-not-saving/#num-2-1-how-to-check-javascript-errors-in-chrome

    If there are any errors, please share screenshots of the errors.

    We look forward to helping you.

    FS
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    FS
    Rank Math free

    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.

    Any idea for a solution?

    Thanks

    Hello,

    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.

    FS
    Rank Math free

    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.

    Hello,

    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.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    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.

    We really look forward to helping you.

    FS
    Rank Math free

    Hey, thanks. Don’t have time to do this atm but will do it at some point. Thanks.

    Hello,

    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.

    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.

Viewing 12 replies - 1 through 12 (of 12 total)

The ticket ‘Schema markup issue’ is closed to new replies.