外掛標籤
開發者團隊
② 後台搜尋「Beltoft In-Stock Notifier for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Beltoft In-Stock Notifier for WooCommerce adds a subscription form to out-of-stock products so customers can leave their email and get notified when the product is restocked. Emails are sent using WooCommerce’s email template so they match your store’s design.
Key Features
Subscription form on out-of-stock products — works with simple, variable, grouped, and external products.
Variable products: form shows/hides automatically when selecting out-of-stock variations.
Notifications sent via WooCommerce email templates — same look as your order emails.
Email settings (subject, heading, on/off) under WooCommerce > Settings > Emails.
Batch sending via Action Scheduler — handles thousands of subscribers without slowing down.
Detects stock changes from admin, REST API, CLI, and ERP systems.
Admin dashboard with stats and a manual “Send Notifications” button per product.
Subscription list with search, filters, pagination, and bulk actions.
One-click unsubscribe link in every email.
Optional GDPR checkbox, honeypot spam protection, and rate limiting.
Shortcode [bisn_form] for custom placement.
Activity logging via WooCommerce logger.
How It Works
Customer visits an out-of-stock product and enters their email.
When the product comes back in stock, the plugin picks it up via WooCommerce hooks.
Emails are queued and sent in batches — each one includes the product image, a “Shop Now” button, and an unsubscribe link.
Custom hook available for CDN/Varnish cache purging if needed.
Configuration
Form Placement
The form shows automatically on out-of-stock product pages.
To place it yourself, disable auto-placement in settings and use [bisn_form] or [bisn_form product_id="123"].
Email Template
Uses WooCommerce’s email system — same header, footer, and colours as your other store emails.
Customise subject and heading under WooCommerce > Settings > Emails > Back In Stock.
Override the template by copying templates/emails/back-in-stock.php to your theme’s woocommerce/emails/ folder.
Batch Sending
Configurable batch size (default 50) and throttle between emails.
If there are more subscribers than one batch, the next batch runs 60 seconds later.
For low-traffic sites, set up a real system cron for reliable scheduling.
Hooks & Filters
Developers can extend the plugin:
bisn_form_html / bisn_form_fields / bisn_form_heading_text
bisn_before_subscription / bisn_after_subscription
bisn_validate_subscription
bisn_before_notification_sent / bisn_after_notification_sent / bisn_after_batch_sent
bisn_stock_status_triggers — customise which statuses trigger notifications (default: instock, onbackorder)
bisn_cache_purge_product — fire custom cache purge logic (e.g. Varnish, CDN)
