Skip to content

Configuration

Restock works out of the box with sensible defaults, so configuration is optional. When you do want to match your store voice, everything lives on one screen: WooCommerce → Restock. The settings fall into four groups — who can sign up, the form’s heading and labels, the on-screen messages, and the notification email.

On by default. When on, any visitor can join a waitlist by entering an email. Turn it off to restrict signups to logged-in customers — logged-out shoppers are then prompted to log in instead. Logged-in customers always have their email pre-filled.

  • Heading — an optional title shown above the waitlist form.
  • Intro text — an optional paragraph under the heading, for example a short note about how notifications work.

Both are optional; leave them blank to render just the form. An empty field falls back to no heading rather than to placeholder text.

Customise the text on the form itself so it reads in your store’s voice:

  • Email field label — used as the field’s accessible label (rendered as screen-reader text).
  • Consent checkbox label — the wording shoppers tick to agree before joining. You are responsible for matching this to your privacy policy.
  • Submit button text — for example Join waitlist or Notify me.

These are the messages the form shows after a submit, announced in an aria-live region so screen-reader users hear them:

  • Success — shown after a valid signup.
  • Invalid email — shown when the address does not pass validation.
  • Missing consent — shown when the consent box is not ticked.
  • Login required — shown to guests when guest subscriptions are off.

Leave any of these blank to use the built-in default text.

The plain-text email sent when the product is restocked is fully editable:

  • Subject
  • Intro — the opening line(s).
  • Closing — the closing line(s).

The email is sent through your site’s own WordPress mailer (wp_mail); Restock connects to no external service.

A few behaviours are deliberately not settings, because they keep the form correct:

  • The form only renders for products that are out of stock or on backorder.
  • A consent checkbox is always required before a signup can be submitted.
  • Notifications fire automatically when WooCommerce sets a product’s stock status to instock.

If you need to change the form markup itself, copy the template to your theme at yourtheme/restock/single-product/waitlist-form.php and edit it there. Your override survives plugin updates.

Subscribers are stored in a single custom {prefix}_restock_waitlist table in your own database. Deleting the plugin runs the uninstall routine, which drops that table and removes the restock_settings and restock_schema_version options.