Warning: This tool or project is no longer maintained and kept available only for archival purposes. Since GoodRelations and schema.org have evolved significantly in the past years, the current status available on this page is unlikely to function as expected. We take no responsibility for any damage caused by the use of this outdated work, to the extent legally possible.

Due to a lack of resources, we are unable to provide support for this project outside of consulting projects or sponsored research. Please contact us if you can contribute resources to update and enhance these resources.

GoodRelations - The Web Vocabulary for E-Commerce

This is the archive of the goodrelations dicussion list

GoodRelations is a standardized vocabulary for product, price, and company data that can (1) be embedded into existing static and dynamic Web pages and that (2) can be processed by other computers. This increases the visibility of your products and services in the latest generation of search engines, recommender systems, and other novel applications.

[goodrelations] Google / prices in Euro - Bug & Work-around

Martin Hepp martin.hepp at ebusiness-unibw.org
Tue Aug 2 12:47:16 CEST 2011


Dear all:

Google seems to have fixed this problem - see

http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Fwww.tradoria.de%2Fernaehrung%2Fpro-sana-l-glutamin-1-beutel-500g-21797.html&view=

and the attached screenshot - the price is correctly shown as EUR 11.99.

Best wishes

Martin Hepp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2011-08-02 at 12.44.15 PM.png
Type: image/png
Size: 58869 bytes
Desc: not available
URL: <http://ebusiness-unibw.org/pipermail/goodrelations/attachments/20110802/17ac4ad8/attachment.png>
-------------- next part --------------


On Jun 21, 2011, at 9:07 AM, Martin Hepp wrote:

> Dear all:
> 
> There is a small bug in Google's Rich Snippet testing tool:
> 
> If the currency is "EUR", then the price may be rendered incorrectly - in some cases, the digits following the delimiter (99.xx - the fractional part) are treated as if they were part of the main digits (i.e. the integer part).
> 
> Example: 
> 
> foo:price a gr:UnitPriceSpecification ;
> 	gr:hasCurrency "EUR"^^xsd:string ;
> 	gr:hasCurrencyValue "99.00"^^xsd:float .
> 
> can, in some cases, show up as
> 
> EUR 9900.00
> 
> Google is working on the issue and we assume at this point that this is just a bug in the validator, not in the actual Google rendering component.
> 
> Other currencies are not affected, as far as we know.
> 
> As a work-around, we recommend that you remove the fractional part from currency values if it is ".00".
> 
> So for those values, please use
> 
> foo:price a gr:UnitPriceSpecification ;
> 	gr:hasCurrency "EUR"^^xsd:string ;
> 	gr:hasCurrencyValue "99.00"^^xsd:float .
> 
> or in RDFa
> 
> <div rel="gr:hasPriceSpecification">
> <div typeof="gr:UnitPriceSpecification">
> <div property="gr:hasCurrency" content="EUR" datatype="xsd:string"></div>
> <div property="gr:hasCurrencyValue" content="99" datatype="xsd:float"></div>
> </div>
> 
> instead of 
> 
> <div rel="gr:hasPriceSpecification">
> <div typeof="gr:UnitPriceSpecification">
> <div property="gr:hasCurrency" content="EUR" datatype="xsd:string"></div>
> <div property="gr:hasCurrencyValue" content="99.00" datatype="xsd:float"></div>
> </div>
> 
> This is just a precautionary measure. At this moment, we have not seen this bug in actual Google search results, just in the testing tool.
> 
> 
> Best wishes
> 
> Martin Hepp
> 
> 
> _______________________________________________
> goodrelations mailing list
> goodrelations at ebusiness-unibw.org
> http://ebusiness-unibw.org/cgi-bin/mailman/listinfo/goodrelations



More information about the goodrelations mailing list