| 开发者 | onetrace |
|---|---|
| 更新时间 | 2026年10月25日 03:00 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
YITH WooCommerce Wishlist and TI WooCommerce Wishlist: adding and removing products is sent from the server (setting "Wishlist"). With another wishlist, put data-cdp-wishlist="{product id}" on the "Add to wishlist" button of the theme and data-cdp-wishlist-remove="{product id}" on the "Remove" button — the OneTrace tracker (1.13.0 and later) sends the events on click. The product id is the one of the catalog: the post ID, or the SKU with "Product id → SKU".
WooCommerce Shipment Tracking, Advanced Shipment Tracking and TrackShip: every tracking item added to the order is sent as order_shipped with the carrier, the tracking number and the link; the "Delivered" status of AST and TrackShip is order_delivered. Without a tracking plugin the "Completed" status is one order_shipped without tracking. Other tracking plugins can pass their parcels with the onetrace_woocommerce_order_shipments filter (see the README on GitHub).
With the setting "OneTrace search widget" on and the widget turned on in OneTrace → Site → Search, the product search page keeps the header and footer of your theme (classic or block theme) and shows the results widget of OneTrace instead of the store's results: facets, sorting, infinite scroll and an "Add to cart" button that adds to the WooCommerce cart and refreshes the mini-cart. Products with options open their page. The widget needs the tracker; while it is off in OneTrace, OneTrace is unavailable or the visitor has not agreed to statistics cookies (WP Consent API), the search page stays as it is.
On the page of a product that is out of stock (a variable product — when no variation is in stock) the plugin puts <div data-cdp-notify="{product id}"></div> after the add to cart area; the tracker draws the form there. The form itself is set up in OneTrace → Site → Forms (kind "Notify when available"); without an active form of this kind nothing is shown. The setting "Notify when available" turns the place off.
The catalog carries the product description (or the short description), and the plugin puts <div data-cdp-ask data-product-id="{product id}"></div> after the add to cart area of the product page (classic templates and block themes). When the widget is turned on in OneTrace → Site → Product questions, the tracker shows suggested questions and the AI answer there, or a button that opens the online chat with the product; otherwise nothing is shown. The setting "Ask AI about a product" turns the automatic place off; the [onetrace_ask] shortcode (or [onetrace_ask product="123"]) puts the block anywhere.
Yes, in the "Store emails" section of the OneTrace project: all emails sent with wp_mail() as the store made them, and order emails (placed, paid, shipped, delivered, cancelled, refunded) from OneTrace templates in the customer's language; emails to the shop owner and staff always go out from the store. The secret key needs the "Send messages manually" permission; WooCommerce → Settings → OneTrace shows the state. If OneTrace does not accept an email (no email integration, the quota, the limit per recipient, the platform unavailable), the store sends it itself.
No. The bot asks the store only for orders of a confirmed customer: signed in on the website, or confirmed with a code the shop sends to the email of the orders. An order number of someone else answers "not found".
Yes, a OneTrace.pro project (or a project at a brand that runs the platform).
Messages wait in the plugin's queue and are sent later; checkout is never slowed down.
[onetrace_ask] shortcode puts it anywhere.