Reorder
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
- Plugin page: https://plogins.com/reorder/
- Documentation: https://plogins.com/reorder/docs/
- Author: WPPoland.com
- WordPress.org contributor: motylanogha
- Source: https://github.com/wppoland/reorder
Reorder adds an “Order again” button to each past order in WooCommerce My Account → Orders. One click re-adds every still-purchasable line item from that order to the cart and sends the customer to the cart or straight to checkout, so a repeat purchase is a single tap instead of hunting down each product again.
Why stores pick Reorder
Section titled “Why stores pick Reorder”Reorder is one focused button, not a suite. It does not reimplement WooCommerce’s cart, it reads the order’s line items and calls WC()->cart->add_to_cart() for each one, so price, stock and coupon rules apply exactly as they do for any add-to-cart. Items that are gone (deleted, hidden, or out of stock) are skipped and named in a notice, so the cart is never half-filled with broken lines. The free edition is the full GPL product, no trial, no external service, no account.
Free edition highlights
Section titled “Free edition highlights”- Order again button on the My Account → Orders list, one per qualifying order, added through WooCommerce’s own
woocommerce_my_account_my_orders_actionsfilter. - Re-adds the whole order, every still-purchasable line goes back into the cart in one click, original quantities preserved.
- Variation-aware, re-adds the exact variation ID that was ordered, plus its
pa_attribute values, so the medium-blue comes back as medium-blue. - Skips missing items, a product that is deleted, not purchasable, or out of stock is left out, and the shopper sees a notice listing exactly what could not be added.
- Ownership- and nonce-checked, every reorder link carries a per-order nonce, and the handler re-verifies the logged-in user owns the order before touching the cart. No IDOR.
- No front-end JavaScript, no extra markup, the button is a standard WooCommerce order action with a small stylesheet loaded only on the orders page.
- Configurable, button label, which order statuses show the button (Completed, Processing, On hold), and whether reordering lands on the cart or the checkout.
How a reorder works
Section titled “How a reorder works”Each reorder link points back to the orders endpoint with the order ID, an action=reorder_again flag and a nonce. The handler runs on template_redirect: it checks the nonce, confirms the order belongs to the current user and still qualifies, then re-adds each purchasable line and redirects to the cart or checkout. Unavailable items are skipped with a notice; the redirect target is your choice.
Editions
Section titled “Editions”- Free on WordPress.org, the Order again button, ownership- and nonce-checked, with the configurable label, statuses and redirect target.
- Reorder Pro (Freemius) hooks the
reorder/refilledaction to apply a reward coupon to the cart after a reorder. See Reorder Pro.
Next steps
Section titled “Next steps”- Getting started, install, choose statuses, set the redirect.
- Configuration, every setting and its option key.
- How a reorder works, the storefront flow and the security model.
- FAQ, requirements, missing items, variations, data.