Skip to content

Markup errors in AggregateOffer examples #3298

@jvandriel

Description

@jvandriel

The https://schema.org/AggregateOffer markup examples contain a couple of errors:

"offers": {
    "@type": "AggregateOffer",
    "highPrice": "$1495",
    "lowPrice": "$1250",
    "offerCount": "8",

and

"offers": {
    "@type": "AggregateOffer",
    "lowPrice": "$35",
    "offerCount": "1938"

In both case there's a price currency symbol in the pricing values. Providing number values and adding a priceCurrency property instead would be better. Secondly in JSON-LD Number values should be without double quotes.

"offers": {
    "@type": "AggregateOffer",
    "priceCurrency": "USD",
    "highPrice": 1495,
    "lowPrice": 1250,

And the second example only has a lowPrice. Since there's no highPrice it'd be better to use price instead.

"offers": {
    "@type": "AggregateOffer",
    "priceCurrency": "USD",
    "price": 35,
    "offerCount": 1938

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions