Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

structured data : itemprop="price" in different currency #57

Open
venture-travels opened this issue May 18, 2016 · 1 comment
Open

structured data : itemprop="price" in different currency #57

venture-travels opened this issue May 18, 2016 · 1 comment
Labels

Comments

@venture-travels
Copy link

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.

@adampmoss
Copy link
Owner

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

@adampmoss adampmoss added the bug label Nov 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants