Description
This plugin generates a strictly formatted XML feed of your product reviews that meets Google Merchant Center requirements. By submitting this feed to Google, you can enable « Product Ratings » (stars) on your Google Shopping PLAs (Product Listing Ads).
Key Features:
* Universal Support: Works with native WooCommerce reviews, Customer Reviews for WooCommerce (CusRev), YITH Advanced Reviews, and Site Reviews.
* Strict Schema: Generates the specific nested XML structure Google requires (GTINs, MPNs, Namespaces).
* Smart Caching: Caches the XML feed to reduce server load. Default refresh is weekly (recommended by Google).
* Product Identifiers: Maps your GTIN, MPN, and Brand fields to ensure reviews match your products in Google.
Performance & Limits:
By default, this plugin includes your 2,500 most recent reviews. This safety cap ensures that generating the XML file does not crash your server due to memory exhaustion.
* Developers: You can increase or remove this limit using the prxml_review_limit filter.
Installation
- Upload the plugin files to the
/wp-content/plugins/product-reviews-xml-for-googledirectory. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to Settings > GMC Reviews XML to configure.
- Copy the generated Feed URL.
- Log in to Google Merchant Center > Analytics > Reviews > Product Reviews > Feeds.
- Add a new feed using « Scheduled Fetch » and paste your URL.
FAQ
-
Which review plugins are supported?
-
We natively support:
1. WooCommerce Standard Reviews
2. Customer Reviews for WooCommerce (CusRev)
3. YITH WooCommerce Advanced Reviews
4. Site Reviews
5. Judge.me / Yotpo (Only if « Sync to WooCommerce » is enabled in their settings). -
My feed is showing a 404 error?
-
Go to the plugin settings and click « Save Changes ». This will flush your permalinks and fix the URL.
Avis
Il n’y a aucun avis sur cette extension.
Contributeurs & développeurs
« Product Reviews XML for Google Merchant Center » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Product Reviews XML for Google Merchant Center » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Historique des changements
2.0.9
- Tested and confirmed compatible with WordPress 7.0.
- Updated « Tested up to » to 7.0.
2.0.8
- Fixed sanitization to use sanitize_title_with_dashes() as recommended by WordPress.org review.
- Improved DONOTCACHEPAGE constant scoping to only affect feed rendering.
- Added preg_quote() for regex security in rewrite rules.
- Added WooCommerce dependency check with admin notice.
- Fixed all escaping to use esc_html_e() instead of _e().
- Changed prefix from ‘grf’ to ‘prxml’ (5 characters) to meet WordPress requirements.
- Moved JavaScript to external file with proper wp_enqueue_script().
- Added comprehensive error handling and PHPDoc blocks.
2.0.6
- Increased safety limit to 2,500 reviews (Generous Free Tier).
2.0.5
- Updated Author description.
2.0.4
- Added « Copy URL » button.
- Added connection instructions.
2.0.3
- Updated default feed slug.
- Updated default refresh rate to Weekly.
2.0.0
- Full security hardening.
- Added proper uninstaller.
- Trademark-safe slug update.
1.0.0
- Initial release.
