跳到内容

API Data Sync for WooCommerce

v1.0

berkux · 2025年1月1日 上架

Run a shortcode whenever WooCommerce completes an order, changes an order status or saves a product – and send the data to any external API.

正在使用
10 以下
评分
暂无
累计下载
2,518
最近更新
2026年9月5日
需要 WordPress 6.5+已测试到 7.1.5PHP 7.4+

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums