Setting Product Schema Markup in Your Content

Did you know that All in One SEO Pro lets you add Schema markup for products?

This means that search engines can display rich snippets for your products like the example below.

Rich snippets for Merchant listing experiences on Google can also be displayed. You can learn about these in Google’s Product Schema article here.

Tutorial Video

Setting the Default Schema Type for all Products

To set the default Schema Type for your courses, click on Search Appearance in the All in One SEO menu, then click on the Content Types tab.

Search Appearance menu item on All in One SEO menu

Scroll down to the section for your products and click on the Schema Markup tab.

Schema Markup tab under Content Types

Now select Product in the Schema Type drop down and click the Save Changes button.

For more detail on this, please see our article on Configuring Schema Settings here.

Setting the Schema Type for Individual Products

To set the Schema Type for individual content, edit your content and scroll down to the AIOSEO Settings section, then click on the Schema tab.

Schema tab in the AIOSEO Settings section on the Edit Post screen

Now, click the Generate Schema button to open the Schema Generator window.

You’ll see a list of the Schema Types that are available.

Schema Generator window in the AIOSEO Settings section on the Edit Post screen

Click the Add Schema icon next to Product to add it.

Add Schema icon next to the Product Schema type

You can now complete the schema information fields with your product information.

Once done, click the Add Schema button to add the schema to your post.

Add Schema button in the Schema Generator window

The Product schema has now been added to the post.

If you would like to edit or delete any of the information you’ve added, then click the Edit Schema or Delete Schema icons next to Schema In Use.

Edit and Delete icons next to Schema In Use

Configuring the Product Specific Information

When you click on Product as the Schema Type for your content, you’ll see a popup with additional fields where you can enter your product information.

Product Schema fields shown in the Schema Generator window

Complete the fields as described below.

Product Details Section

In the first section, you can set the following:

  • Name – Enter the name of your product. By default, this is set to your post title.
  • Description – Enter the description of your product. By default, this is set to your post content.
  • Brand – Enter the brand of the product.
  • Image – Select or upload an image that represents your article. You can also paste in the URL for an image into this field. By default, this is set to your featured image.

Indentifiers Section

In the Identifiers section, you can set the following:

  • SKU – Enter the SKU of the product.
  • GTIN – Enter the GTIN of the product.
  • MPN – Enter the MPN of the product.
  • ISBN – Enter the ISBN of the product.
Identifiers section of the Product Schema fields

Offer Section

In the Offer section, you can set the following:

  • Price – Enter the price for your product.
  • Currency – Select which currency your price is in.
  • Price Valid Until – If this is a sale or limited time price then select the date that the price is valid until.
  • Availability – Select the availability for your product.
Offer section of the Product Schema fields

Attributes Section

In the Attributes section, you can set the following:

  • Material – Enter the material or combination of materials that your product is made from. Separate each material with a slash, for example: cotton/polyester. See Google’s article on Material here.
  • Color – Enter the color or combination of colors that your product comes in. Separate each color with a slash, for example: Red/Green/Black. See Google’s article on Color here.
  • Pattern – Enter the pattern that your product comes in. Only one pattern is accepted. See Google’s article on Patterns here.
  • Size – Enter the size or sizes that your product comes in. Separate each size with a slash, for example: small/medium/large. See Google’s article on Size here.
  • EU Energy Rating – Select the EU energy rating for your product from the drop down.
Attributes section of the Product Schema fields

The information in the Attributes section is specifically used by Google for their Merchant listing experiences. You can learn about these in Google’s Product Schema article here.

Audience Section

In the Audience section, you can set the following:

Audience section of the Product Schema fields

The information in the Audience section is specifically used by Google for their Merchant listing experiences. You can learn about these in Google’s Product Schema article here.

Reviews Section

In the Reviews section, you can add reviews for your product. In a review, you can set the following:

  • Rating Value – The rating value for the review.
  • Headline – The headline for the review.
  • Content – The content/description for the review.
  • Author – The name of the review author.

Click on the Add Another Review link to add more reviews for your product.

Click the Delete button to delete a review.

Reviews section of the Product Schema fields

Review Rating Section

In the Review Rating section, you can set the following:

  • Rating Minimum – Enter the minimum rating value.
  • Rating Maximum – Enter the maximum rating value.
Review Rating section of the Product Schema fields

Shipping Destinations Section

In the Shipping Destinations section, you can set the following:

  • Country – Select the country you ship to from the drop down.
  • States – Enter the states you ship to.
  • Postal Code – Enter the postal codes you ship to.
  • Price – Enter the shipping cost for this destination.

Click on the Add Another Shipping Destination link to add more shipping destinations for your product.

Click the Delete button to delete a shipping destination.

Shipping Destinations section of the Product Schema fields

The information in the Shipping Destinations section is specifically used by Google for their Merchant listing experiences. You can learn about these in Google’s Product Schema article here.

Once you’ve completed the fields, click the Add Schema button to save them.

You can also save this as a template which you can use on other products by clicking the Save Schema as Template button.

You can learn about Schema Templates here.

Using Product Schema with WooCommerce Products

You can use the product schema in All in One SEO Pro with your WooCommerce products.

When you add the Product schema to a WooCommerce Product, you’ll see an option called Autogenerate Fields that lets you control whether AIOSEO should autogenerate most of your product schema based on the data from WooCommerce.

Autogenerate Fields option in Product Schema

If you would rather edit all fields yourself, then you can set Autogenerate Fields to No.

You’ll also see that there is no Review Rating section because we use the reviews from WooCommerce (if you’ve enabled that feature).

Finally, All in One SEO also works with the WooCommerce Brands plugin and the Perfect Brands for WooCommerce plugin and will automatically use the brands you set for your products in those plugins.

Using Product Schema with Easy Digital Downloads

You can use the product schema in All in One SEO Pro with Easy Digital Downloads.

When you add the Product schema to an EDD Download, you’ll see an option called Autogenerate Fields that lets you control whether AIOSEO should autogenerate most of your product schema based on the data from Easy Digital Downloads.

Autogenerate Fields option in Product Schema

You’ll see the Review Rating section, however, All in One SEO Pro works with the Easy Digital Downloads Reviews plugin and will automatically use the reviews from that plugin

Additional Information

Check out more documentation on our Schema Settings here.

This feature was added in All in One SEO version 4.2.5. There's no legacy documentation available.