[WordPress] 外掛分享: RefatBd notifications with Telegram for Woocommerce

WordPress 外掛 RefatBd notifications with Telegram for Woocommerce 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「RefatBd notifications with Telegram for Woocommerce」是 2025-11-04 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2025-12-12,距離現在已有 75 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

refatbd |

外掛標籤

telegram | woocommerce | Notifications | abandoned cart | conditional logic |

內容簡介

**總結:**

RefatBd 通知與 Telegram 外掛為 WooCommerce 商店擁有者提供了一個強大而靈活的工具,可以通過Telegram獲取即時更新。 這個外掛集成了一個安全、私人的API,確保您商店的溝通既迅速又安全。可以自動發送基於模板的通知,涵蓋許多事件,包括訂單狀態變更、新用戶註冊、庫存更新、廢棄結賬、新產品評論等。

**問題與答案:**

1. 如何連接您的網站?

- 在 WordPress 管理員中,前往「Telegram Sync -> API Connection」。
- 提供了預設的 API URL (https://tgapi.refat.ovh/api.php),請確保這是正確的。如果您自主託管後端,輸入您的URL並點擊「保存API URL」。
- 點擊「Fetch API Key」按鈕。這將安全連接您的站點到後端並自動保存您的 API 金鑰。
- 確認 API 狀態和站點連線顯示為「Connected」。如有需要,點擊「刷新」。

2. 如何配置聊天ID?

- 前往「Telegram Sync -> Settings -> Chat Management」。
- 在 API Connection 頁面找到活動機器人的用戶名。發送 /myid 指令給該機器人在 Telegram 上。它將回覆您的唯一聊天ID(可能是以連字符開頭的數字,適用於群組)。
- 在 Chat Management 頁面中輸入一個名稱供參考(例如:「Admin Chat」),並將您收到的聊天ID輸入字段中。
- 點擊「Save Changes」。
- 您可以使用「Test」按鈕來驗證聊天ID是否正確。

3. 如何配置通知?

- 進入 Telegram Sync -> Settings 下的各個分頁(General、Order Status、User & Stock 等)。
- 使用切換按鈕啟用您想要接收的通知。
- 使用下面模板字段中列出的可用占位符來自定義消息模板。

4. 如何設定通知規則(可選)?

- 轉到 Notification Rules 標籤頁以創建進階條件。

原文外掛簡介

RefatBd notifications with Telegram for Woocommerce is a powerful and flexible tool for WooCommerce store owners who want to receive real-time updates via Telegram.
It integrates seamlessly with a secure, private API, ensuring your store’s communication is both instant and safe.
This plugin allows you to send automated, template-based notifications for a wide range of events, including order status changes, new user registrations, product stock updates, abandoned checkouts, new product reviews, and more, directly to your chosen Telegram chat.
Now with Advanced Conditional Logic: Gain granular control over your notifications.
Define precise rules based on product details, categories, order totals, customer attributes, payment and shipping methods, coupon usage, and even specific times of day to ensure you only receive the alerts that matter most.
Key Features:

WooCommerce HPOS Compatible: Fully supports WooCommerce High-Performance Order Storage (HPOS).
Secure API Integration: Connects to a private Telegram API Backend (https://tgapi.refat.ovh/api.php), keeping your sensitive Bot Token secure and off your server.
See “External Services” section below for details.
Comprehensive Notifications: Get alerts for order status changes, new user registrations (including admins), stock changes, low/out of stock alerts, abandoned checkouts, new product reviews, coupon usage, failed login attempts, and product price changes.
Advanced Conditional Logic: Create rules based on product IDs, categories, tags, order total, quantity, customer details (ID, role, guest status), payment methods, shipping zones, coupon codes, custom fields, time of day, and stock levels.
Single Chat ID Support: Send notifications reliably to one configured Telegram chat. (Upgrade to Pro for multiple chat support).
Customizable Message Templates: Use a wide array of placeholders to craft detailed and informative messages for every event.
PPOM Integration: Automatically includes data from PPOM fields in your order notifications if the PPOM plugin is active.
User-Friendly Admin Panel: A clean, modern, tabbed interface to manage all settings with ease.
History & Logging: Keep a complete record of all sent messages and utilize detailed logs for troubleshooting.
Scheduled Messages: Schedule custom messages to be sent to your Telegram chat at a future date and time.
Telegram Commands: Interact with your store directly from Telegram (e.g., /sales, /order , /stock ).

How to Use

Connect Your Website:

In your WordPress admin, go to Telegram Sync -> API Connection.
The default API URL (https://tgapi.refat.ovh/api.php) is provided. Ensure this is correct.
If you self-host the backend, enter your URL and click “Save API URL”.
Click the “Fetch API Key” button.
This securely connects your site to the backend and saves your API key automatically.
Verify that the API Status and Site Connection show as “Connected”. Click “Refresh” if needed.

Configure Chat ID:

Go to Telegram Sync -> Settings -> Chat Management.
Find the active bot’s username on the API Connection page. Send the command /myid to that bot in Telegram.
It will reply with your unique Chat ID (a number, possibly starting with a hyphen for groups).
Enter a name for your reference (e.g., “Admin Chat”) and the Chat ID you received into the fields on the Chat Management tab.
Click “Save Changes”.
You can use the “Test” button to verify the Chat ID is correct.

Configure Notifications:

Go through the tabs under Telegram Sync -> Settings (General, Order Status, User & Stock, etc.).
Use the toggle switches to enable the notifications you want to receive.
Customize the message templates using the available placeholders listed below each template field.

Set Up Notification Rules (Optional):

Navigate to the Notification Rules tab to create advanced conditions for any enabled notification event, giving you precise control over when alerts are sent.

Enable the Plugin:

Ensure the “Enable Plugin” toggle is switched on in the General tab.
Notifications will now be sent automatically to your configured Chat ID based on your settings and rules.

Available Placeholders:

For Order Status Notifications: {site_title}, {customer_name}, {order_id}, {order_status}, {product_list}, {total_price}, {total_price_formatted}, {billing_address}, {shipping_address}, {ppom_data}, {payment_method}, {shipping_method}, {customer_note}, {date_created}, {date_paid}, {date_completed}, {billing_email}, {billing_phone}.
For New User Notifications: {site_title}, {user_login}, {user_email}.
For New Admin User Notifications: {site_title}, {user_login}, {user_email}, {user_roles}.
For Stock Notifications: {site_title}, {product_name}, {product_sku}, {stock_status}.
For Low/Out of Stock Alerts: {site_title}, {product_name}, {product_sku}, {stock_status}, {stock_quantity}, {alert_type}.
For Abandoned Cart: {customer_name}, {customer_email}, {customer_phone}, {date_created}, {product_list}, {variation_data}, {ppom_data}.
For New Product Reviews: {site_title}, {product_name}, {product_link}, {reviewer_name}, {reviewer_email}, {review_content}, {review_rating}, {review_link}.
For Coupon Usage: {site_title}, {order_id}, {customer_name}, {total_price_formatted}, {coupon_codes}, {coupon_count}.
For Failed Login Attempts: {site_title}, {username}, {ip_address}, {failed_attempts}, {threshold}.
For Product Price Changes: {site_title}, {product_name}, {product_sku}, {old_price}, {new_price}, {price_change_text}, {percentage_change}, {product_link}.

External Services
This plugin relies on a mandatory third-party API service hosted at https://tgapi.refat.ovh/api.php to function.
* What the service is and what it is used for: The service acts as a secure intermediary between your WooCommerce store and the Telegram messaging service.
It receives notification requests (containing message content and recipient ID) from your website via a secure API key, processes them, and delivers them to the specified Telegram chat using a bot managed by the service provider.
This is necessary to avoid exposing your sensitive Telegram Bot Token directly on your website and allows the service to manage bot operations and message delivery.
The service also enforces message usage limits for users of this free plugin.
* What data is sent and when:
* Connection: When you click “Fetch API Key” on the API Connection page, your website’s domain (e.g., yourstore.com) and a unique, auto-generated secret key are sent to the service to register your site and issue your API Key.
* Notifications: Whenever a configured WooCommerce event occurs (e.g., new order, stock change), the plugin constructs a message based on your template and sends the final message content along with your configured Telegram Chat ID and your API Key to the service.
The message content may include order details, product names, customer information (name, email, phone – depending on your template configuration), etc., as needed to fulfill the notification’s purpose.
* Chat Commands: When you send a command (like /sales) from Telegram to the service’s bot, the service sends the command details (command name, arguments, your chat ID) along with your API Key to your website’s REST API endpoint (/wp-json/rntfw/v1/command).
Your website processes the command and sends the result back to the service, which then relays it to you in Telegram.
* Status Checks: Periodically, and when you click “Refresh” or “Test Connection”, the plugin sends your domain, secret key, and API key to the service to verify the connection status and retrieve the current bot username.
* Service’s Terms of Use and Privacy Policy: Connection to and use of this external service are subject to its terms and policies.
Please review them carefully:
* Terms of Use
* Privacy Policy

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「RefatBd notifications with Telegram for Woocommerce」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


2.0.0 | 2.0.1 | 2.0.2 | trunk |

延伸相關外掛(你可能也想知道)

  • Google for WooCommerce 》, Google Listings & Ads可讓您輕鬆地向Google平台上的購物者展示您的產品。無論您是數位廣告的新手還是市場營銷專家,您都可以通過免費和廣告來擴大您的...。
  • WooCommerce PayPal Payments 》PayPal 最新、功能最完備的付款處理解決方案。除了接受 PayPal 獨有的付款方式,也可接受信用卡/借記卡和本地付款方式。開啟 PayPal 付款選項或處理完整的付...。
  • WooCommerce Stripe Payment Gateway 》使用 Stripe 付款網關的 WooCommerce 外掛,直接在您的商店上接受 Visa、MasterCard、American Express、Discover、JCB、Diners Club、SEPA、Sofort、iDEAL、...。
  • WooCommerce Tax (formerly WooCommerce Shipping & Tax) 》WooCommerce Shipping & Tax 外掛可讓基本的電子商務功能如運送更加可靠,并減輕了您的網站基礎架構壓力。, 使用 WooCommerce Shipping & Tax 外掛,...。
  • WooCommerce Legacy REST API 》總結:, - 在WooCommerce 9.0版本起,Legacy REST API將不再是WooCommerce的一部分。, - 這款外掛程式在WooCommerce 9.0及以後版本中還原了已移除的Legacy RE...。
  • WP Crontrol 》WP Crontrol 可以讓您查看和控制 WP-Cron 系統中正在發生的事件。從管理界面,您可以:, , 查看所有的 Cron 事件以及它們的參數、循環間隔時間、回撥函數以及...。
  • PDF Invoices & Packing Slips for WooCommerce 》這個 WooCommerce 外掛可以自動為您的客戶在訂單確認電子郵件中添加 PDF 發票。包括一個基本模板(額外的模板可從 WP Overnight 購買),以及修改/建立自己的...。
  • Variation Swatches for WooCommerce 》為 WooCommerce 產品屬性打造美麗的顏色、圖片和按鈕變化的樣式, 如何安裝 WooCommerce 變化樣式外掛程式升級可變產品, , 變化樣式是易於使用的 WooCommerce ...。
  • Cart Abandonment Recovery for WooCommerce – Recover Lost Sales with Automated Emails 》現在是時候停止購物車放棄行為,並找回您失去的收入了!, 研究顯示,約有60%至80%的使用者前往結帳頁面,但沒有完成購買。即使最佳優化的結帳流程也有20%的...。
  • Pinterest for WooCommerce 》Pinterest 提供人們下一個偉大的想法。它部分收藏品,部分市場,是數百萬個分享者獲取靈感、新產品和新可能性的一站式購物平台。它就像一個視覺搜尋引擎,引...。
  • Google Analytics for WooCommerce 》這個外掛提供了 Google Analytics 與 WooCommerce 外掛之間的整合,您可以將推薦連結與購買關聯,並將交易資訊新增到您的 Google Analytics 資料中。它還支援...。
  • User Switching 》這個外掛可讓您輕鬆在 WordPress 中點擊按鈕即可快速切換使用者帳戶。您會立即登出並切換成所需使用者。這對於測試環境、協助 WooCommerce 網站上的客戶或任...。
  • CartFlows – Checkout & Funnel Builder for WooCommerce 》#1 WooCommerce 結帳 & 漏斗建置外掛 – CartFlows, ★★★★★, 相較於其他所有的 WooCommerce 結帳選項,更多 WooCommerce 商店店主都選擇了 CartFlows。為什麼呢...。
  • YITH WooCommerce Quick View 》有時半途而廢是最好的:如果你正在檢視產品列表,但其圖片仍然太小,需要打開該產品頁面,等待載入,最後才能觀察你感興趣的項目。, 因此,為什麼不使用一種...。
  • Custom Product Tabs for WooCommerce 》此外掛擴充了 WooCommerce 功能,允許商店擁有者針對產品添加自訂選項卡。這些選項卡顯示在每個產品頁面上,出現在預設的「描述」選項卡右側。, 個別產品選項...。

文章
Filter
Mastodon