| 开发者 | nitspatel |
|---|---|
| 更新时间 | 2026年10月8日 20:10 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
yourtheme/stocknotify/.stocknotify folder to /wp-content/plugins/, or install the zip via Plugins > Add New > Upload Plugin.Yes. When a shopper selects a variation that is out of stock, the subscription form appears automatically for that specific variation. If a different, in-stock variation is selected, the form is hidden again.
Yes. As soon as WooCommerce marks a product or variation as back in stock, every subscriber who is still waiting for it is emailed automatically. Sending happens a short time after the stock change (via WP-Cron) so that saving a product or processing an order is never slowed down by the outgoing emails. Each subscriber is only notified once per subscription.
Yes. It's a normal WooCommerce email, so it appears under WooCommerce > Settings > Emails, where you can change the subject, heading, additional text, and switch between HTML and plain text. To change the layout itself, copy templates/email/back-in-stock.php (and, for plain text, templates/email/plain/back-in-stock.php) from the plugin into yourtheme/stocknotify/email/.
In a dedicated database table ({prefix}stocknotify_subscribers) created on activation, separate from WooCommerce's own tables. An admin screen to browse subscribers is planned for a future release.