This project is not covered by Drupal’s security advisory policy.

Description

This project add Product schema available at schema.org on your Drupal 7 commerce site. The major search engines including Bing, Google and Yahoo! have agreed to recognized these in order to improve the display of search results.

Syntax

The syntax generated by this module thanks to renderable array is microdata format.

Contributed module

Each module can alter data to make microdata richer.
By default, stock availability is displayed if commerce_stock field is available.
Feel free to add your own data to make your microdata more relevant for search engines, like adding reviews or aggregating rate.

Known incompatibilities

This module is incompatible with Commerce Good Relations.

Configuration

You can choose to display offers thanks to permission interface.

By default, only this fields are displayed :
* Name: Product display title.
* Url: Product display path.
* Description: Product display body field.
* SKU: Product SKU field
* Offers:priceCurrency: currency_code property of commerce_price field of
Product.
* Offers:price: Amount property of commerce_price field of Product.
* Offers:availability: commerce_stock property of Product if field is available.
* Image: Images from field_images field of Product if exist.

You can add or edit this fields display using
hook_commerce_schemaorg_product_alter(). See commerce_schemaorg.api.php for more
details on this hook.

Project information

Releases