Getting started
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Restock works the moment WooCommerce is active. The waitlist form appears on any out-of-stock or backorder product with no configuration, everything on the settings screen is optional fine-tuning.
Before you start
Section titled “Before you start”- WordPress 6.4 or newer
- WooCommerce 8.0 or newer (HPOS and Cart/Checkout Blocks are declared compatible)
- PHP 8.1 or newer
- A working WordPress mailer, Restock sends through
wp_mail, not a third-party service. If your host blockswp_mail, install an SMTP plugin first.
Install
Section titled “Install”- Install WooCommerce and confirm it is active. Restock shows an admin notice and does nothing if WooCommerce is missing or older than 8.0.
- Install Restock from the plugin directory (once live on WordPress.org) or upload the
restockfolder to/wp-content/plugins/. - Activate it. On activation Restock creates its
{prefix}_restock_waitlisttable and flushes rewrite rules so the My Account endpoint resolves.
No wizard runs, the defaults work immediately.
Verify on a product page
Section titled “Verify on a product page”- Open a product set to Out of stock, or On backorder with backorders allowed.
- Confirm the waitlist form appears in the product summary: an email field, a required consent checkbox, and a submit button. Logged-in customers see their email pre-filled.
- Submit a test address (your own inbox). The submit is an asynchronous
fetch, no page reload, and the result is announced below the button. - Open WooCommerce → Restock → Subscribers and confirm the signup is listed as Waiting.
For a variable product, choose options in the standard variation form first. The waitlist form stays hidden until you select a variation that is out of stock or on backorder, then appears and stores that variation’s ID.
Send your first restock email
Section titled “Send your first restock email”- Set the product (or variation) back to In stock in WooCommerce.
- On the
woocommerce_product_set_stock_status→instockevent, Restock emails every pending subscriber for that product (and its parent, for a variation) viawp_mail, then marks each one notified so they are not emailed again. - Check your inbox. The email is plain text: your subject, an intro line, the product link, and a closing line.
If the email does not arrive, check WordPress mail delivery (SMTP plugin, host limits) before debugging Restock, it hands the message to wp_mail and stops there.
Enable the My Account tab
Section titled “Enable the My Account tab”My Account waitlists is on by default. Logged-in customers get a Waitlists tab listing their active signups, each with the current stock status and a Leave waitlist button. If the tab returns a 404 after you toggle it on, go to Settings → Permalinks and click Save Changes once to refresh rewrite rules.
First configuration (optional)
Section titled “First configuration (optional)”Open WooCommerce → Restock to match the form to your store voice. Each field has an inline ? help button, and every empty text field falls back to a built-in default. The most common changes:
- Allow guest subscriptions, on by default; turn off to require login.
- Button text, consent checkbox label, and the success / error messages.
- Notification email, subject, intro and closing, with
{product_name}available in the subject and intro.
Changes save immediately; no cache clear or template rebuild is needed.
Need help?
Section titled “Need help?”- Restock overview, how the form and notifications work
- Configuration, every setting and option key
- Using waitlists, the full flow, variations, subscriber list
- GitHub issues
- Restock on plogins.com