WooCommerce is a popular e-commerce plugin with a solid and well designed codebase, but WooCommerce is not an SEO plugin - its Schema markup for search engines is minimal, and its social meta tags for Facebook, Twitter, and other social sites are non-existent. This guide provides quick and easy solutions to fix your WooCommerce product meta tags and Schema markup, which will improve your search engine ranking, the information shown in search results and social sites, and your click through rates.

Common Warnings for WooCommerce SEO Markup

The Google Rich Results Test Tool, the Schema Markup Validator, or the Google Search Console for site owners, may report one or more of the following errors for the minimal Schema markup offered by the WooCommerce plugin:

The aggregateRating warning from WooCommerce's Schema markup can be addressed by having your customers leave one or more reviews for each of your products. Unfortunately WooCommerce will only include the last review in the Schema Product markup, which may not reflect the total aggregateRating values. All product reviews (ie. that have a rating value) and comments (ie. that do not have a rating value) are combined by WooCommerce into a separate and disconnected Schema JSON-LD block.

The following product information should also be included in the Schema markup, when available, but WooCommerce cannot manage this information without third-party plugins and complex filters to modify its default Schema markup:

Although Google does not warn about the lack of a mainEntity or mainEntityOfPage value in the default Schema markup from the WooCommerce plugin, this property should be included so Google can recognize the Schema Product markup as the main subject of the webpage.

A Solution for Better Schema Markup

The WPSSO Core Premium plugin addresses all the Schema markup weaknesses of WooCommerce, and includes complete social meta tags for Facebook, LinkedIn, Pinterest, Twitter, and more.

WooCommerce provides only a single product offer in its Schema markup - even for variable products with different pricing - while WPSSO Core includes all product variation offers, with complete product details for each offer (description, images, mpn, sku, gtin, item condition, availability, price, currency, VAT added, shipping delievery times, weight, width, height, length, fluid volume, and more). WPSSO Core can also include product prices with or without VAT, and if your products have reviews (ie. with a star rating) and comments (ie. no rating value), they will be classified properly - added to the Schema Product markup as "reviews" and "comments" respectively.

WPSSO Core supports many additional WooCommerce product attributes as well, including:

See the WooCommerce integration notes for details on different ways you can include this product information in your WooCommerce shop (ie. using an add-on for WPSSO Core, a supported third-party plugin, WooCommerce product attributes, WordPress custom fields, or custom values in the Document SSO metabox).

Do you ship products?

In September 2020, Google announced support for shipping details in Schema markup. Adding shipping details to your Schema Product markup is important if you offer free or low-cost shipping options, as this will make your products more appealing in Google search results. The WPSSO Core Premium plugin can provide shipping information for WooCommerce SEO, including shipping zones, methods, rates, and locations (continents, countries, states, and postal / zip codes) when the WPSSO Shipping Delivery Time for WooCommerce SEO add-on is active.

A Step-by-Step Solution

  1. Install and activate the WPSSO Core plugin: From your site's Plugins > Add New page, search for "WPSSO Core".

  2. Optionally install and activate the WPSSO Product Metadata for WooCommerce SEO add-on to add GTIN, GTIN-8, GTIN-12 (UPC), GTIN-13 (EAN), GTIN-14, ISBN, MPN, depth, and volume information for WooCommerce products and variations: From your WordPress site's Plugins > Add New page, search for "WPSSO WCMD".

  3. Optionally install and activate the WPSSO Shipping Delivery Time for WooCommerce SEO add-on to provide Google with shipping rates and delivery time estimates: From your WordPress site's Plugins > Add New page, search for "WPSSO WCSDT".

  4. To add support for WooCommerce products, third-party plugins, service APIs, and advanced settings, purchase the WPSSO Core Premium plugin and follow the installation guide provided in the post-purchase email (the Premium version is offered as a simple plugin update).

  5. Have a look through the SSO > Setup Guide for optimization and setting suggestions.

  6. For information on managing additional WooCommerce product information, see the WooCommerce integration notes.

  7. In case you have any questions or issues, you can also open a ticket on the Premium Support site.