CreareSEO icon indicating copy to clipboard operation
CreareSEO copied to clipboard

structured data : itemprop="price" in different currency

Open venture-travels opened this issue 8 years ago • 1 comments

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.

venture-travels avatar May 18 '16 07:05 venture-travels

If you have a comma in a price ($3,999 for example), the google structured data test tool flags it.

adampmoss avatar Oct 27 '16 21:10 adampmoss