Schema markup issue

#486407
  • 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 5 replies - 1 through 5 (of 5 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.

    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.

    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.

    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.

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

You must be logged in to reply to this ticket.