Zum Inhalt springen

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.

  • 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 blocks wp_mail, install an SMTP plugin first.
  1. Install WooCommerce and confirm it is active. Restock shows an admin notice and does nothing if WooCommerce is missing or older than 8.0.
  2. Install Restock from the plugin directory (once live on WordPress.org) or upload the restock folder to /wp-content/plugins/.
  3. Activate it. On activation Restock creates its {prefix}_restock_waitlist table and flushes rewrite rules so the My Account endpoint resolves.

No wizard runs, the defaults work immediately.

  1. Open a product set to Out of stock, or On backorder with backorders allowed.
  2. 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.
  3. Submit a test address (your own inbox). The submit is an asynchronous fetch, no page reload, and the result is announced below the button.
  4. 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.

  1. Set the product (or variation) back to In stock in WooCommerce.
  2. On the woocommerce_product_set_stock_statusinstock event, Restock emails every pending subscriber for that product (and its parent, for a variation) via wp_mail, then marks each one notified so they are not emailed again.
  3. 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.

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.

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.