Structured Data - Google Products | Adding Markup to product pages

Product

Add markup to your product pages so Google can provide detailed product information in rich Search results — including Google Images. Users can see price, availability, and review ratings right on Search results.

Using markup to enable rich product results lets you attract potential buyers while they are searching for items to buy on Google or images that include products you sell. Maintain the accuracy and freshness of your product information, so your customers find the relevant, current items they’re looking for.

This page explains how to mark up your product information so that Google can display rich results (previously known as rich snippets). There are two types of pages where you would typically use this markup:

  • a product page that describes a single product
  • a shopping aggregator page that lists a single product , along with information about different sellers offering that product

Product markup enables a badge on the image in mobile image search results, which can encourage more users to click your content.

Examples

Single product page

JSON-LD

RDFA

MICRODATA

Here’s an example of a single product page in JSON-LD using the Structured Data Testing Tool:

Shopping aggregator page

JSON-LD

RDFA

MICRODATA

Here’s an example of a shopping aggregator page in JSON-LD using the Structured Data Testing Tool:

Guidelines

Product rich results provide users with information about a specific product, such as its price, availability, and reviewer ratings. The following guidelines apply to product markup:

  • Use markup for a specific product, not a category or list of products. For example, “shoes in our shop” is not a specific product. See also our structured data guidelines for multiple entities on the same page.
  • Adult-related products are not supported .
  • Reviewer’s name needs to be a valid name for a Person or Team For example, “James Smith” or"CNET Reviewers." By contrast, “50% off on Black Friday” is invalid.

To include product information in Google Images, follow these guidelines for required markup:

  • To show your product information in the rich image viewer: Include the name , image , price , and priceCurrency properties.
  • To show your product information in the Related Items feature: Include the name , image , price , priceCurrency , and availability properties.

Structured data type definitions

You must include the required properties for your content to be eligible for display as a rich result. You can also include the recommended properties to add more information about your content, which could provide a better user experience.

AggregateOffer

The full definition of AggregateOffer is available at schema.org/AggregateOffer. An AggregateOffer is a kind of Offer representing an aggregation of other offers. When marking up aggregate offers within a product, use the following properties of the schema.org AggregateOffer type:

Required properties
lowPrice Number

The lowest price of all offers available. Floating point number.
priceCurrency Text

The currency used to describe the product price, in three-letter ISO 4217 format.

Recommended properties
highPrice Number

The highest price of all offers available. Floating point number.
offerCount Number

The number of offers for the product.

Offer

The full definition of Offer is available at schema.org/Offer. When marking up offers within a product, use the following properties of the schema.org Offer type:

Required properties
availability ItemAvailability

Value is taken from a constrained list of options, expressed in markup using URL links. Google also understands their short names (for example InStock or OutOfStock , without the full URL scope.) This property is required for the Related Items feature in Google Images and is recommended for Google Search.
price Number

The price of the product. Follow schema.org usage guidelines.
priceCurrency Text

The currency used to describe the product price, in three-letter ISO 4217 format.

Recommended properties
itemOffered Thing

The item being sold. Typically, this includes a nested product, but it can also contain other item types or free text.
priceValidUntil Date

The date (in ISO 8601 date format) after which the price will no longer be available. Your product snippet may not display if the priceValidUtil property indicates a past date.
url URL

A URL to the product web page (that includes the Offer ).

Product

The full definition of Product is available at schema.org/Product. When you mark up your content for product information, use the following properties of the schema.org Product type:

Required properties
image Repeated ImageObject or URL

The URL of a product photo. Pictures clearly showing the product (for example, against a white background) are preferred. This property is required for Google Images and recommended for Google Search.

Additional image guidelines:

  • Every page must contain at least one image (whether or not you include markup). Google will pick the best image to display in Search results based on the aspect ratio and resolution.
  • Image URLs must be crawlable and indexable.
  • Images must represent the marked up content.
  • Images must be in .jpg, .png, or. gif format.
  • For best results, provide multiple high-resolution images (minimum of 50K pixels when multiplying width and height) with the following aspect ratios: 16x9, 4x3, and 1x1.

For example:

“image”: [
https://example.com/photos/1x1/photo.jpg”,
https://example.com/photos/4x3/photo.jpg”,
https://example.com/photos/16x9/photo.jpg
]
name Text

The name of the product.

Recommended properties
aggregateRating AggregateRating

A nested aggregateRating of the product.
brand Text

The brand of the product.
description Text

Product description.
offers Offer

An offer to sell the product. Includes a nested Offer or AggregateOffer .
review Review

A nested Review of the product. Follow the Review snippet guidelines and the list of required and recommended review properties.
gtin8 | gtin13 | gtin14 |mpn | isbn Text

Include all applicable global identifiers; these are described at schema.org/Product.
sku Text

Merchant-specific identifier for product.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated July 29, 2019.


Curated by: https://www.ParagonHost.net

Est. 1999 | Paragon Host Internet Group | Web, Email, Workspace | Global Hosting Services