Automatically add the rich snippets schema to display review stars on Google searches for WooCommerce Products.
Automatically add the rich snippets schema to display review stars on Google searches for WooCommerce Products.
It’s very simple.
When the product has reviews left by customers, it will automatically add this schema code:
{ "@context": "http://schema.org", "@id": "#product", "@type": "IndividualProduct", "aggregateRating": { "@type": "AggregateRating", "ratingCount": "$rating_count", "ratingValue": "$average_rating" }, "name": "$product_title", "category": "$category" }
… which makes Google display the review stars on the search pages.
No setup needed. Everything is automatic. Just activate the plugin.
This plugin is super lightweight and it’s completely free.
Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
In the search field type the plugin name and click Search Plugins. Once you’ve found our plugin you can install it by simply clicking “Install Now”.
The manual installation method involves downloading our plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.
Maybe your product doesn’t have reviews, or you need to wait a few days/weeks until Google detects the rich snippet.