Better Schema Markup for WooCommerce

WooCommerce is a popular e-commerce plugin, with a solid and well designed code base, but WooCommerce is not an SEO plugin - its Schema markup for search engines is minimal and it does not provide any social meta tags for Facebook, Pinterest, X (Twitter), etc. This guide provides a quick and easy solution to fix your WooCommerce product Schema markup and meta tags.

Warnings for WooCommerce Markup

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

  • The aggregateRating field is recommended.
  • The brand field is recommended.
  • The review field is recommended.
  • This Product is missing a global identifier (e.g. isbn, mpn or gtin8).
  • No global identifier provided (e.g. gtin mpn isbn).
  • Missing field "brand".
  • Missing field "businessDays".
  • Missing field "cutoffTime".
  • Missing field "deliveryTime".
  • Missing field "hasMerchantReturnPolicy"
  • Missing field "shippingDetails"

A Better Solution for WooCommerce Schema Markup

The WooCommerce plugin provides only a single product offer in its Schema markup, even for variable products with different pricing, and includes only minimal product information. The WPSSO Core plugin replaces the default WooCommerce Schema markup and includes all product variations with complete product details for each offer (ie. product description, images, mpn, sku, gtin, item condition, availability, price, currency, VAT added, shipping delivery times, weight, width, height, length, fluid volume, and more). The WPSSO Core plugin can also include prices with or without VAT, and if your products have reviews or comments, they are added to the markup as product "reviews" or "comments" respectively.

The WPSSO Core plugin supports many additional attributes for WooCommerce products, including:

  • Adult Type (aka Adult Oriented)
  • Age Group
  • Brand
  • Color
  • Condition
  • Energy Rating
  • Fluid Volume
  • GTIN-14
  • GTIN-13 (aka UPC)
  • GTIN-12 (aka EAN)
  • GTIN-8
  • GTIN
  • ISBN
  • Material
  • MPN (aka Manufacturer Part Number)
  • Net Length / Depth
  • Net Width
  • Net Height
  • Net Weight
  • Pattern
  • Size
  • Size Group (aka Size Type)
  • Size System
  • Target Gender