| 开发者 | trustsell |
|---|---|
| 更新时间 | 2026年9月10日 02:19 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[trustsell] with no attributes. On a WooCommerce product page the plugin resolves the product
itself and takes the article number from SKU (or a custom meta field).[trustsell product_id="209017176"] with an explicit catalogue identifier.[trustsell post_id="29184"] when you only have the WordPress post ID.rvw_...) from
the Installation tab of your TrustSell account. Until the key is filled in the plugin stays idle._sku) and enable automatic
output below the WooCommerce product card.[trustsell] or the block where you want the reviews, or rely on automatic output.Check that the project key is filled in. Since version 1.15.0 the plugin ships with an empty key and does nothing until you enter your own, so that it never displays another account's reviews or contacts the service without your consent.
The marketplace identifier the reviews are matched against in TrustSell (for Wildberries this is the
nmId). It must equal the value stored in your TrustSell catalogue. It is not the WordPress post ID.
If you only have the post ID, use [trustsell post_id="..."] and the plugin will read the SKU itself.
The simplest option is [trustsell] with no attributes. If you need it explicit, the product is in
global $product:
global $product; echo do_shortcode( '[trustsell post_id="' . $product->get_id() . '"]' );
The $product->id property has been deprecated since WooCommerce 3.0 and is empty on current
versions, so use get_id() or get_sku().
First clear your page cache and CDN cache, product listings are cached almost everywhere. If that
does not help, the theme is the cause: stars are printed on the standard WooCommerce hook
woocommerce_after_shop_loop_item_title, and a theme that renders listing cards with its own markup
never calls it. Switch to Storefront temporarily to confirm.
Yes, through the shortcode with an explicit product_id. Automatic output, catalogue stars and the
product feed require WooCommerce.
JSON_HEX_TAG|JSON_HEX_AMP|JSON_HEX_APOS|JSON_HEX_QUOT.
The previous guard was a no-op, so review content could break out of the script tag./widget-1.10.0.js) instead of a query argument,
because caching plugins key external scripts by file name and ignore the query string.post_id shortcode attribute.[reviewplus] shortcode and feed URL keep working, settings migrate
automatically.