How to use ratings in Structured Data with SNIP

A customer asked how he can use review ratings for an AggregateRating for his WooCommerce products. Here is how it works:

As far as I know you need to use’s WordPress Plugin. It fetches all the ratings from their API and buffers it into the WordPress post meta database table. SNIP can access this data.

First of all you need to follow the example on how to work with custom fields. The configuration of the AggregateRating schema is a little different.

You can use the following values:

  • ratingValue: Post meta field “stamped_io_product_reviews_new->rating”
  • bestRating: Direct Text Input “5”
  • reviewCount: Post meta field “stamped_io_product_reviews_new->count”
  • worstRating: Direct Text Input “1”

That’s it! Have fun! 😉