| 开发者 | motylanogha |
|---|---|
| 更新时间 | 2026年9月15日 02:20 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
fetch request loaded with defer in the footer; the plugin adds no jQuery of its own. On variable products it hooks into WooCommerce's existing variation script so the form only appears once an unavailable variation is selected.
Accessibility was a first-class concern rather than an afterthought. The email field carries a visually hidden label, consent is a real required checkbox, and the success/error message is announced through an aria-live region while the form reports aria-busy during submission.
Subscriber data lives in a single {prefix}_restock_waitlist table that the plugin creates and version-tracks. A restock queues the mailing and sends it in batches on WordPress's own cron, so the request that changed the stock is not held open while the emails go out. Uninstalling drops the table, removes the plugin's options and unschedules any batch still waiting, leaving nothing behind.
Source and issues: github.com/wppoland/plogins-waitlist . Patches and bug reports are welcome there.
Features
wp_mail[restock_waitlist] shortcode or the Elementor "Back-in-Stock Waitlist" widgetyourtheme/restock/single-product/waitlist-form.php)plogins-waitlist folder to /wp-content/plugins/.Yes. Plogins Waitlist is a WooCommerce extension and requires WooCommerce 8.0 or later. It will show an admin notice and stay inactive if WooCommerce is missing or out of date.
When WooCommerce sets a product's stock status to instock, Plogins Waitlist queues the mailing rather than sending it inside that request. WordPress cron then walks the pending subscribers for that product (and its parent, for variations) in batches of 50, oldest signup first, emailing each one with your site's own WordPress mailer (wp_mail). Subscribers who are emailed successfully are marked as notified so they are not contacted twice. Filter plogins_waitlist_notify_batch_size to change the batch size.
Yes. Choose options in the standard WooCommerce variation form first. When the selected variation is out of stock or on backorder, the waitlist form appears and the subscription is stored for that specific variation.
Yes by default. You can restrict signups to logged-in customers by unchecking Allow guest subscriptions in WooCommerce > Plogins Waitlist.
Yes. Logged-in customers see a Waitlists tab under My Account with active subscriptions, current stock status, and a button to leave each list.
Every signup requires the shopper to tick an explicit consent checkbox before they can join the waitlist; the form will not submit without it. Subscriber emails are stored only in a custom table in your own WordPress database and are never sent to any external service. You are responsible for the wording of your consent label and your site's privacy policy.
Yes. From WooCommerce > Plogins Waitlist > Subscribers you can view subscribers, filter by product, and export the list as CSV.
No. The form is submitted with a vanilla-JavaScript fetch call and the result is announced in an aria-live region, so the page stays put. Plogins Waitlist loads no jQuery for this; on variable products it does rely on WooCommerce's own variation script to know which variation is selected.
Yes. This plugin is compatible with WordPress Multisite. Network activate it or activate it on individual sites; each site keeps its own settings and data.
Warning: Class "Waitlist\Plugin" not found on every request on any site with WP_DEBUG on. A compatibility alias kept for Plogins Waitlist PRO 1.0.2 and older was declared before the plugin's autoloader was registered, so PHP could not find the class it was aliasing. The alias now sits below the autoloader, which also means it is finally declared: for the whole time it was above, it failed and gave those old PRO versions nothing.wp plugin delete removes an active plugin without deactivating it, so uninstall now unschedules the job in the same way deactivation does.plogins_waitlist_should_notify, a filter deciding whether a restock mails the people waiting for that product. Returning false skips the mailing and leaves those subscribers pending. Plogins Waitlist PRO applies its category segmentation through it instead of taking the mailing over.plogins_waitlist_pending_query_limit), and the waitlist list on a customer's account page at most 200. Neither had a ceiling before.plogins_waitlist_notify_batch_size), in the same order, to the same people.plogins_waitlist_subscribers_per_page), the summary counts come from the database so they describe the whole list, and the CSV export streams in chunks instead of loading every row first.[restock_waitlist] shortcode to place the waitlist form manually (optional id attribute to target a specific product).