
內容簡介
API Data Sync for WooCommerce 外掛可讓使用者在 WooCommerce 中設定事件觸發器,並透過短碼執行特定操作,將訂單或產品資料推送至其他系統,如 ERP 或 CRM。此外掛提供簡單的整合方式,提升商店的自動化程度。
【主要功能】
• 事件驅動觸發器,選擇 WooCommerce 鉤子
• 短碼執行,注入事件資料
• 重複保護,避免重複觸發
• 多站點 SKU 查詢,檢查其他網站
• 日誌記錄,顯示最近 20 個事件
• 電子郵件通知,選擇性接收事件更新
外掛標籤
開發者團隊
原文外掛簡介
WooCommerce fires an action whenever an order is completed, its status changes, or a product is created or updated. This plugin lets you pick one of these events and define a shortcode that is executed each time the event occurs.
The shortcode receives all relevant WooCommerce data (order, line items, SKUs, or product details) as a URL-encoded JSON string via the placeholder #orderdata#. Use it to push orders or products to another shop system, an ERP, a CRM, or any REST API – for example with the PRO version of the JSON Content Importer or with a shortcode plugin of your own.
Features
Event-based trigger – choose one WooCommerce hook per site:
Order thank-you page (woocommerce_thankyou)
Order completed (woocommerce_order_status_completed)
Order status changed (woocommerce_order_status_changed)
Product created or updated (woocommerce_update_product)
Shortcode execution – the configured shortcode runs with the event data injected via #orderdata#.
Duplicate protection – orders are marked after a successful sync, so reloading the thank-you page does not trigger a second call.
Multisite-aware SKU lookup – if a product is not found on the current site, the other sites of the network are checked.
Logging – the last 20 events (event, order/product, shortcode result) are stored and shown in the admin, with links to the order or product.
E-mail notification – optionally receive a short e-mail per event with order number, event type and shortcode result.
HPOS-compatible – works with WooCommerce High-Performance Order Storage and the block-based Cart/Checkout.
Clean uninstall – all settings and log data are removed on deletion if you opt in.
Privacy
The plugin only processes data on your own site. Order and product data are handed to the shortcode you configure; whether that shortcode sends data to a third party is up to the shortcode plugin you use. The built-in log stores event type, order/product ID and shortcode result – no customer names, addresses or e-mail addresses. The optional notification e-mail contains the order number and the shortcode result, not the order data itself.
