You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the Motorcycle as "@type" for 'itemOffer' the Rich Result test throw an error about offer for Product snippets.
If we change the @type to Car the error is gone.
The issue appears to be in the "itemOffered" part.
We get error when using Motorcycle as type:
"itemOffered": {
"@type": "Motorcycle",
"name": "Long name of product",
"itemCondition": "UsedCondition",
},
while using Car as type will pass:
"itemOffered": {
"@type": "Car",
"name": "Long name of product",
"itemCondition": "UsedCondition",
},
Is this intended behaviour?
(Schema also tested on the validator.schema.org)
Test code example used in Rich Result Text to reproduce:
<html>
<head>
<title>Executive Anvil</title>
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"name": "Long name of product",
"brand": {
"@type": "Brand",
"name": "Brand Name"
},
"image": {
"@type": "ImageObject",
"url": "#"
},
"description": "<p>Test</p>\n",
"offers": {
"@type": "Offer",
"url": "url of the product",
"availability": "InStock",
"name": "Long name of product",
"image": {
"@type": "ImageObject",
"url": "#"
},
"offeredBy": {
"@type": "Person",
"name": "Name and Surname of the seller",
"address": {
"@type": "PostalAddress",
"streetAddress": "My street address",
"addressLocality": "The city",
"postalCode": "Some postal code",
"addressCountry": "UN"
}
},
"itemOffered": {
"@type": "Motorcycle",
"name": "Long name of product",
"itemCondition": "UsedCondition"
},
"priceSpecification": {
"@type": "PriceSpecification",
"price": "99.99",
"priceCurrency": "EUR"
}
}
}
</script>
</head>
<body>
</body>
</html>
The text was updated successfully, but these errors were encountered:
When trying to use the Motorcycle as "@type" for 'itemOffer' the Rich Result test throw an error about
offer
for Product snippets.If we change the
@type
toCar
the error is gone.The issue appears to be in the "itemOffered" part.
We get error when using
Motorcycle
as type:while using
Car
as type will pass:Is this intended behaviour?
(Schema also tested on the validator.schema.org)
Test code example used in Rich Result Text to reproduce:
The text was updated successfully, but these errors were encountered: