Invalid floating point number in property "price" (in "offers")

Invalid floating point number in property "price" (in "offers")

mrpluckyguy
Tourist
15 0 2

I have just gotten this error for all of my products on the google merchant, could anyone please direct me on how to fix this? I'm not very skilled with coding. I am using Debutify theme.

 

My store is koozeys.com

 

Thank you!

Replies 5 (5)

Kitana
Shopify Staff (Retired)
265 20 63

Hi @mrpluckyguy. Thanks for reaching out to the Shopify Community. 

 

Are you receiving a specific error code for your products? Can you write the error message exactly as it appears or attach a screenshot? 

Kitana | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

mrpluckyguy
Tourist
15 0 2

Hello, it doesnt say a specific code from what I can see, it says this on the google merchant centre, thanks

Screen Shot 2024-07-27 at 2.29.44 PM.png

Screen Shot 2024-07-27 at 2.29.29 PM.png

Kitana
Shopify Staff (Retired)
265 20 63

Thank you for sharing that. I found this other community post from a user that had the same issue. Someone provided a solution, so give that a try. 

 

If you're still running into this issue, try posting this in the Partners and Developers forum as there might be more devs and coders there that would be able to help you with fixing this.

 

You can also find a Shopify Partner that specializes in working with the Google Merchant. 

Kitana | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

mrpluckyguy
Tourist
15 0 2

Thank you

ilanadavis
Shopify Partner
246 33 80

Hey @mrpluckyguy 

 

The issue is that your theme has added the currency symbol to your price. Your currency should not be included in the itemprop=price, they are two different fields for structured data. That's what's causing your error for the price.

 

The theme uses both microdata and JSON-LD for structured data. Microdata is harder to "fix" so the easiest way to solve this is to remove your theme microdata. Removing your microdata will also remove the name error in the code. Just leave the JSON-LD data as is.

 

You can use this article but skip Steps 4 and 5 as you don't want to remove the JSON-LD.

https://www.ilanadavis.com/blogs/articles/removing-invalid-microdata-shopify-theme

 

 

Ilana Davis, Shopify Superhero
JSON-LD for SEO, adds structured data to your theme, getting you more organic traffic with Rich Results.