How to use it
- Enter the name, a short description, an image URL, the brand and the SKU.
- Enter the product page URL, the price and the currency code.
- Choose availability and condition; add the date until which the price is valid if there is one.
- Keep the rating only if the page shows real reviews, and copy the script.
How it works
The output is a Product with name, image, description, sku and brand as a Brand. The offers property holds one Offer: url, price, priceCurrency, priceValidUntil, and availability and itemCondition as full schema.org URLs such as https://schema.org/InStock. The rating becomes an AggregateRating with ratingValue and reviewCount on the default 1–5 scale. Empty optional fields are left out, and < is escaped so text cannot break out of the script tag.
Example
The default form gives this offer and rating:
"offers": {
"@type": "Offer",
"url": "https://example.com/t-shirt",
"price": "19.99",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition"
},
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 4.6,
"reviewCount": 87
}
Tips
- Update the markup with the page: a price in the markup that differs from the visible price is a common reason for warnings.
- Use the same image as the product page shows, in a large size.
- Test the page with Google’s Rich Results Test after publishing.