CreareSEO
CreareSEO copied to clipboard
structured data : itemprop="price" in different currency
When testing structured data in google webmastertools ' https://developers.google.com/structured-data/testing-tool/ ' everything seems to be listed on the product pages. Great feature to help for better ranking. For the price item however, there seems to be a warning, and I notice the price and also the price layout is not adjusted to my local store. My default currency is USD, and my storeview is in EUR. Currency in google testing tool is EUR indeed, but prices are still in USD, both the number and the layout ( 1,000.00 instead of 1.000,00) In app/design/frontend/base/default/template/creareseo/product/schema.phtml seems to be some coding referring to this:
{ "@type": "Offer", "price": "getProductStartingprice($_product),2) ?>", "availability": "isAvailable() ? 'InStock' : 'OutOfStock') ?>", "priceCurrency": "getCurrency() ?>" }
I hope somebody can find the solution, thanks.
If you have a comma in a price ($3,999 for example), the google structured data test tool flags it.