Linux 软件免费装
Banner图

StockNotify

开发者 nitspatel
更新时间 2026年10月18日 19:50
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce out of stock email notification back in stock stock notification

下载

1.2.0 1.0.0 1.1.0

详情介绍:

StockNotify adds a "Notify me when this product is back in stock" form to WooCommerce product pages whenever a product, or a selected variation, is out of stock. Core flow
  1. A product (or variation) goes out of stock.
  2. A customer enters their email address on the product page.
  3. The product comes back in stock.
  4. The customer receives an email notification.
  5. Store owners can track who subscribed and who was notified under WooCommerce > StockNotify.
Features: Requirements

安装:

  1. Upload the stocknotify folder to /wp-content/plugins/, or install the zip via Plugins > Add New > Upload Plugin.
  2. Activate the plugin through the "Plugins" screen in WordPress.
  3. Make sure WooCommerce is installed and active.
  4. Visit any out-of-stock product to see the subscription form.

屏幕截图:

  • "Waitlist" column on the Products list showing how many customers are waiting for each product.
  • Subscribers tab under WooCommerce > StockNotify, with search, Pending/Notified filters, bulk delete and CSV export.
  • Settings tab to customize the form text and turn automatic placement on or off.
  • "Back in Stock Notify" block in the block editor.

升级注意事项:

1.2.0 Adds a Subscribers screen with CSV export, a Settings tab, and a block and shortcode for placing the form. Safe to update; the form looks and behaves the same until you change a setting. 1.1.0 Adds a Waitlist column, privacy export/erase support, rate limiting and several fixes. Safe to update; no settings change. 1.0.0 Initial release.

常见问题:

Does this work with variable products?

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.

Does this plugin send the "back in stock" email yet?

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.

Can I customize the notification email?

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/.

How do I place the form myself?

Turn off "Show the form automatically on product pages" under WooCommerce > StockNotify > Settings, then add the "Back in Stock Notify" block in the editor or the Site Editor, or use the [stocknotify] shortcode ([stocknotify product_id="123"] for a specific product). The form only appears for out-of-stock products.

Where are subscriptions stored?

In a dedicated database table ({prefix}stocknotify_subscribers) created on activation, separate from WooCommerce's own tables. You can browse, search, delete and export them to CSV under WooCommerce > StockNotify.

更新日志:

1.2.0 1.1.0 1.0.0