| 开发者 | tetherties |
|---|---|
| 更新时间 | 2026年11月9日 21:59 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
prxml_review_limit filter.
Who makes this:
TetherTies builds cable tethers that keep adapters and dongles attached to the cable they belong to. We wrote this plugin to put review stars on our own Google Shopping listings, then released it for free. If you run conference rooms or AV spaces, our cable tether buying guide covers the options. Support questions about the plugin belong in the support forum here.
/wp-content/plugins/product-reviews-xml-for-google directory.We natively support:
On WooCommerce 9.2 and later, edit a product and open the Inventory tab. The "GTIN, UPC, EAN, or ISBN" field is read automatically. On older versions, or if you store GTINs in a custom field, enter that meta key in the plugin settings.
Google matches each review to a product in your product feed using a GTIN, or a brand plus an MPN. A review that carries neither cannot be matched, and the whole feed shows errors. Check three things:
<product_ids> block. You should see <gtins> or <mpns>, plus <brands>.Google's product feed usually lists each variation as its own product, with its own ID, SKU and GTIN, while customers review the parent product. From version 2.1.0 the plugin sends the ID, SKU, MPN and GTIN of every variation inside the review for the parent product, so the review matches whichever variation Google lists. The feed is longer as a result; a product with 22 variations adds about 22 entries per list. To turn this off, return false from the prxml_include_variations filter.
GTIN Key is the name of the custom field that holds the GTIN. WooCommerce 9.2 and later has a built-in GTIN field that the plugin reads when this key is empty. Many GTIN plugins store the value under their own key, and variations often use a different key from simple products. To find yours, take one GTIN from your Merchant Center product feed and search the wp_postmeta table for it: SELECT post_id, meta_key FROM wp_postmeta WHERE meta_value = 'YOUR-GTIN';. The meta_key in the result is the value to enter. One example is hwp_var_gtin, which one GTIN plugin uses on variations.
MPN Key works the same way. If your product feed uses the SKU as the MPN, enter _sku. Variations with no value under that key fall back to their own SKU.
Brand Key is the name of a product attribute or custom field. If it is empty or the field has no value, the plugin sends your site name as the brand.
The plugin stores the generated feed and refreshes it weekly or daily, depending on your setting. Changing the provider, GTIN Key, MPN Key or Brand Key clears that stored copy. If you changed anything else, such as reviews, product data or the plugin files, click "Clear Feed Cache Now" on the settings page. Hosts and CDNs can also keep their own copy of the page: on WP Engine, clear all caches in the User Portal, and on Cloudflare purge the feed URL. Add a throwaway query string such as ?x=1 to the feed URL to bypass your browser's copy while testing. Then use "Fetch now" on the feed in Merchant Center.
Google refuses reviews whose text contains a web address, including bare domains such as example.com. Edit the review in WooCommerce under Products, Reviews, remove the address, and clear the feed cache. Merchant Center's "View examples" link on the error lists the affected reviews.
A review can only show stars on a product Google already has. Reviews on products that are not in your product feed, such as a sample package or a custom order page, will keep showing errors. They do not stop the other reviews from being used.
Go to the plugin settings and click "Save Changes". This will flush your permalinks and fix the URL.
prxml_include_variations, turns this off.