
內容簡介
Arik Sahaj Checkout 外掛徹底改變了在 WooCommerce 中處理 WhatsApp 訂單的方式。它不僅僅是簡單的 WhatsApp 按鈕,而是能在背景中創建真正的 WooCommerce 訂單,確保庫存安全並防止超賣。
【主要功能】
• 真實訂單系統:點擊 WhatsApp 按鈕時創建 WooCommerce 訂單
• 自動庫存保護:立即減少庫存,防止超賣
• 支援變數產品:捕捉客戶的尺寸、顏色等選擇
• 零成本:使用免費的 wa.me 協議,不需 WhatsApp Business API
• 可自訂訊息:模板系統搭配動態佔位符
• 按鈕位置靈活:可在加入購物車按鈕前後或取代
外掛標籤
開發者團隊
原文外掛簡介
Arik Sahaj Checkout turns WhatsApp into a real WooCommerce checkout flow. Unlike basic “click-to-chat” plugins, this plugin creates a real WooCommerce order (a shadow order) the moment a customer clicks the WhatsApp button protecting your inventory from overselling while the customer completes the conversation on WhatsApp.
Why a “Shadow Order”?
When a customer clicks the WhatsApp button, the plugin:
Creates a real WooCommerce order with the selected product, quantity, and variations
Reduces stock immediately (atomic no race conditions)
Opens WhatsApp with a pre-filled message including the Order ID
Suppresses transactional emails so admin and customer aren’t notified prematurely
The result: your inventory is protected, your dashboard has a clean record of every WhatsApp inquiry, and you never oversell.
Key Features
Real WooCommerce Orders: Every click creates a trackable WooCommerce order
Atomic Inventory Protection: Stock reduced via wc_reduce_stock_levels() — safe under concurrent load
Variable Product Support: Captures size, color, and other variation selections
High-Performance Order Storage (HPOS) compatible: Full support for WooCommerce HPOS
Cart & Checkout Blocks compatible: Works alongside the WooCommerce Blocks experience
Popup-Blocker Safe: Opens WhatsApp tab synchronously on click; never blocked
Honeypot Anti-Spam: Built-in bot protection without CAPTCHA
Rate Limiting: Per-IP and per-user, configurable, with HTTP 429 responses
Customizable Message Templates: Use placeholders for product name, order ID, total, variations, date
Flexible Button Positioning: Before, after, or replace the Add to Cart button
Configurable Order Status: Choose any valid WooCommerce status for shadow orders
Email Suppression: Shadow orders never trigger admin/customer emails
Block Theme Support: Compatible with Twenty Twenty-Four and other block themes
Translation Ready: Full i18n/l10n support
Multisite Compatible: Network activation with per-site settings
Accessibility-First: ARIA attributes, keyboard navigation, prefers-reduced-motion, high-contrast mode
RTL Support: Right-to-left languages fully supported
WP-CLI Compatible: Plugin activation via wp plugin activate works correctly
How It Works
Customer browses your shop and selects a product
Clicks “Order via WhatsApp”
Plugin creates a real WooCommerce order with status of your choice (default: On Hold)
Stock is reduced automatically
WhatsApp opens in a new tab with a pre-filled message including the Order ID
Customer messages you on WhatsApp you reference the Order ID in your WooCommerce dashboard
Perfect For
Stores that primarily take orders via WhatsApp (common in South Asia, MENA, Latin America)
Businesses with limited online checkout (no payment gateway, no shipping calculator)
Shops wanting inventory protection without complex multi-step checkout
Stores selling variable products via WhatsApp
Brick-and-mortar businesses using WordPress as a catalog
Theme Compatibility
Tested with the following themes (single product page and shop archive):
Storefront
Astra
OceanWP
Divi
The7
Flatsome
Avada
GeneratePress
Kadence
Blocksy
Twenty Twenty-Four (block theme)
The plugin uses high-specificity CSS selectors and CSS custom properties to override aggressive !important button rules from popular themes without breaking other site styles.
Technical Highlights
Object-oriented PHP architecture with singletons
PHP 7.4+ compatible (no PHP 8.x-only syntax)
Follows WordPress Coding Standards (WPCS)
Security-first: nonce verification, capability checks, input sanitization, output escaping
WooCommerce email hooks safely wrapped in try/finally
Cryptographically secure token generation via random_bytes()
Atomic stock reduction (no race conditions)
HPOS-aware uninstall (cleans both wc_orders_meta and postmeta)
Multisite-aware uninstall (loops all sites in network)
No wp_cache_flush() abuse — targeted cache invalidation only
wc_get_logger() integration for production debugging
Defensive class/function existence checks throughout
Additional Information
Support & Connect
Email Support: [email protected]
Website: https://gernx.com/
Support Forum: WordPress.org Support
LinkedIn: Tanmoy Biswas
Privacy Policy
This plugin does not collect or transmit any personal data to external services. All order data is stored locally in your WordPress/WooCommerce database, which you control.
The plugin stores the following data on each shadow order:
Customer IP address (standard WooCommerce field for fraud prevention)
Customer user agent (standard WooCommerce field for fraud prevention)
Product ID, variation ID, quantity, and variation attributes selected
Order timestamp
For logged-in customers, the order is attached to their WordPress user account. Anonymous customers have no personally identifying data stored beyond IP/user agent (which WooCommerce stores for all orders, not just shadow orders).
No data is sent to any third-party service. The WhatsApp deep link (wa.me) opens on the customer’s device using only the destination number and message text you configure the plugin does not contact WhatsApp’s servers itself.
Requirements
WordPress 6.0 or higher
WooCommerce 7.0 or higher (tested up to 9.5)
PHP 7.4 or higher
MySQL 5.6 or higher / MariaDB 10.1 or higher
JSON and Multibyte String PHP extensions
