Configuration
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
All of Reorder’s settings live on one screen, WooCommerce → Reorder, and are stored together in the reorder_settings option (an array). The defaults work out of the box, so the screen is optional, it exists to match the button to your store’s wording and checkout flow. The page has two sections, The button and Where it appears, plus a live preview.
Button text
Section titled “Button text”Stored under the button_text key. The label shown on the Order again button in My Account. Leave it blank and Reorder uses the translated default Order again; an empty value is never rendered as an empty button. An action phrase reads best, Order again, Buy these again, Reorder. The value is sanitised with sanitize_text_field on save.
After reordering (redirect target)
Section titled “After reordering (redirect target)”Stored under the redirect key, as either cart or checkout; anything else falls back to cart.
- Go to the cart (default), drops the customer in the cart so they can review or adjust quantities before paying. Best when reorders are often tweaked.
- Go straight to checkout, sends them to payment for the fastest repeat purchase. Best for high-trust, fixed reorders.
In both cases the still-purchasable items are already in the cart by the time the customer arrives; the target resolves to wc_get_cart_url() or wc_get_checkout_url() at redirect time.
Order statuses
Section titled “Order statuses”Stored under the statuses key as a list (without the wc- prefix). Controls which past orders show the button. The choices are limited to a fixed allow-list, Completed, Processing and On hold, and any value outside it is dropped on save. Completed is ticked by default.
- Completed, the order the customer was happy with; the usual choice.
- Processing, still being fulfilled; tick it if you want customers to reorder before fulfilment.
- On hold, awaiting payment or stock.
If you untick everything, Reorder falls back to Completed rather than hiding the button entirely. An order also has to contain at least one line item to qualify. The button is only rendered for the customer who owns the order, whatever the status.
Preview
Section titled “Preview”The Preview field under The button renders the actual storefront button with your current label and a caption naming where the customer will land (the cart or the checkout). It mirrors edits live as you type the label or switch the redirect; with JavaScript off it still shows the saved state correctly.
What is fixed by design
Section titled “What is fixed by design”A few behaviours are deliberately not settings, because they keep the reorder correct and safe:
- Ownership and nonce checks are always on. Every reorder link carries a per-order nonce, and the handler re-verifies the current user owns the order before touching the cart. There is no setting to weaken this.
- Missing-item handling is automatic. A line whose product is deleted, not purchasable, or out of stock is skipped and named in a notice; everything still purchasable is added.
- Variation handling is automatic. The exact variation ID ordered, plus its
pa_attribute values, is re-added.
Theming with CSS
Section titled “Theming with CSS”The storefront button is styled through --reorder-* custom properties, accent colour (--reorder-accent), its ink, the hover wash, the refill-loop glyph size and the focus ring, so you can re-theme it from your theme stylesheet without fighting markup. Where a token is unset it inherits the theme’s own button colour. A visible focus-visible ring, dark-scheme colours and a prefers-reduced-motion guard on the hover animation are built in and need no configuration. The button reuses WooCommerce’s own .button.reorder action class, so the glyph track is reserved up front and the control adds no layout shift.
Storage and cleanup
Section titled “Storage and cleanup”Settings live in the reorder_settings option; a reorder_db_version marker records the schema version. Reorder creates no custom tables and stores no customer data of its own. Deleting the plugin from the Plugins screen runs the uninstall routine, which deletes both options and leaves the database clean. Reorder contacts no external service.