| 开发者 | nextial |
|---|---|
| 更新时间 | 2026年11月17日 00:16 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Yes, since 0.2.0. On the classic storage orders are archived out of wp_posts, wp_postmeta, the order items tables and the comments tables, with the same transaction and row-count checks. Compatibility mode must be off. Developers can switch this off with the filter nextial_oa_legacy_storage (return false).
Yes, from WooCommerce → Order Archive → Archived orders → Restore. It returns with the same ID and all its data.
Nothing: stock is not touched. Archiving and restoring move the order's rows between tables; the order keeps its status, and no status change or stock event is fired, so WooCommerce does not reduce or increase stock again. Tested on HPOS and classic storage (stock identical before archiving, after archiving and after restoring).
Yes, free: tick several orders and press "Restore selected", or press "Restore all … archived orders" (with a search term: all the orders that match) and they come back in small background batches, like archiving. If one order cannot come back — for example its ID is taken by a new order — it is skipped and listed, and the others still return.
Nothing: WooCommerce Analytics keeps its own tables, which this plugin never changes.
Settings are removed, the archive tables are kept. Reinstall the plugin to search or restore archived orders.
Yes. From 0.1.1 an "Archived orders" tab appears in the customer's My Account page, only if they have archived orders. It is read-only and shows only their own orders. Orders placed as a guest (no account) are not shown. You can switch the tab off in WooCommerce → Order Archive.
Archived orders are included. WordPress → Tools → Export Personal Data adds a section "Archived orders" with the order, its items and the addresses. Tools → Erase Personal Data anonymises archived orders exactly when WooCommerce would anonymise live ones: only if "Remove personal data from orders on request" is on in WooCommerce → Settings → Accounts & Privacy. Totals, items, dates and country stay, so reports and accounting still add up.
Each batch runs in one database transaction and every row count is checked before the live rows are removed; if anything differs, the batch is rolled back. Use the preview first and make a database backup before the first run.