preloader

WooCommerce Product Review Schema: Getting Star Ratings in Search Results

WooCommerce product reviews generate structured data that Google can use to display star ratings in search results. Here is how the schema works and how to verify it is configured correctly.

How WooCommerce Outputs Product Schema

WooCommerce automatically outputs Product schema in JSON-LD format on individual product pages. When a product has at least one review, WooCommerce includes an AggregateRating property with the average rating and review count. This is the structured data that enables star ratings in Google search results.

The schema is added through the WooCommerce template system and outputs in the page head. You do not need to configure this separately — it works when WooCommerce is active and products have reviews.

Verifying Schema with Google Rich Results Test

  1. Go to search.google.com/test/rich-results
  2. Enter the URL of a product page that has reviews.
  3. Click Test URL.
  4. Look for Product in the detected structured data.
  5. Expand it and look for aggregateRating with ratingValue and reviewCount properties.

If the Product schema shows but there is no aggregateRating, the product has no reviews yet. AggregateRating only outputs when there is at least one approved review for the product.

Common Schema Errors to Fix

Missing name property: The Product schema must include a name. WooCommerce includes this by default from the product title. If the error appears, check whether a plugin is stripping the product name from the schema output.

Missing price or priceValidUntil: Google sometimes flags Product schema for missing price information. WooCommerce includes the price in schema, but if a product has no price set (free product or price hidden), the schema may be incomplete.

Duplicate Product schema: If your SEO plugin (Rank Math, Yoast) is also outputting Product schema, you may have duplicate schema on product pages. Check both outputs and disable the duplicate source. Rank Math has a setting to disable its Product schema on WooCommerce product pages when WooCommerce schema is already present.

Rank Math and WooCommerce Schema

Rank Math can enhance the WooCommerce Product schema with additional properties. Go to Rank Math, then Schema, then WooCommerce. Rank Math can add GTIN, brand, and other e-commerce specific properties that WooCommerce does not output by default. However, ensure Rank Math and WooCommerce are not both outputting full Product schemas simultaneously — configure Rank Math to enhance rather than duplicate the WooCommerce schema.

When Star Ratings Do Not Appear in Search Results

Correct schema does not guarantee star rating display in search results. Google’s display of rich results is discretionary. Factors that affect whether ratings show:

  • Number of reviews — very few reviews may not trigger rich result display.
  • Page authority — new or low-authority pages are less likely to show rich results.
  • Industry — Google restricts review rich results for certain categories.
  • Policy compliance — review markup must follow Google’s guidelines (only markup genuine reviews, not self-assessments).

If schema is correct and verified but ratings do not appear after several weeks of indexing, it may simply be that Google has chosen not to display them for your specific pages.

For WooCommerce SEO including full product schema implementation, rich result optimisation, and structured data audits, a WordPress developer can configure and verify complete product structured data.

Keep Reading

Previous Post How to Get More WooCommerce Product Reviews: A Practical Guide Next Post How to Check WordPress Plugin Compatibility Before Updating

Need Help With Your WordPress Site?

If you need help with WordPress fixes, plugin issues, theme customization, or development work, feel free to get in touch.

Get a Free Estimate