跳到内容

Orderloft – Archive Old Orders for WooCommerce

v1.0.2

Ali Nawaz · 2026年11月19日 上架

Archive old WooCommerce orders to keep the Orders screen fast. Free nightly auto-archive, one-click restore, and Analytics keeps every order.

正在使用
10 以下
评分
暂无
累计下载
147
最近更新
2026年11月19日
需要 WordPress 6.2+已测试到 7.1.5PHP 7.4+

贡献者

截图

Overview: live and archived order counts, orders ready to archive, and the last run.
Overview: live and archived order counts, orders ready to archive, and the last run.
Archived orders: search, view, restore and export.
Archived orders: search, view, restore and export.
Read-only view of an archived order.
Read-only view of an archived order.
Settings: age, statuses, nightly archiving and batch sizes.
Settings: age, statuses, nightly archiving and batch sizes.
Customers see archived orders under My Account → Orders.
Customers see archived orders under My Account → Orders.

A store that has sold for a few years carries every order it ever took. The Orders screen gets slower, order search drags, and every plugin that looks up orders has to wade through years of orders nobody opens. WooCommerce has no built-in way to archive orders, so most owners either live with it or delete orders and lose their sales history.

Orderloft moves old WooCommerce orders out of your live order tables into an archive. Your Orders screen, order search and every plugin that queries orders work with a smaller set of recent orders, while the old ones stay safe, searchable and one click away from being restored.

Pick an age and the statuses to archive, such as completed, refunded, cancelled and failed orders older than 12 months. Archive them now, or let Orderloft do it every night.

Free, with no Pro needed: scheduled nightly archiving, one-click restore, archived orders kept in WooCommerce Analytics, My Account order history, the WooCommerce Subscriptions check and WP-CLI commands.

What moves, and what doesn’t

Each order moves with everything that belongs to it: its refunds, line items and item meta, addresses, order meta and order notes. The move happens inside one database transaction, so if anything fails nothing changes. Row IDs are kept, so a restored order has the same ID, order number, order key, items and history it had before.

Orderloft never deletes orders through WooCommerce, so WooCommerce Analytics keeps counting archived orders. Your revenue, orders and product reports stay complete after archiving.

Features

  • Archive by age and status: orders older than X months with the statuses you choose.
  • Free nightly automatic archiving at 03:00 site time, with a per-run limit so a large first archive is spread over several nights.
  • Background batches through Action Scheduler (part of WooCommerce), so big stores don’t time out.
  • Archived orders screen: search by order number, email or name, view a read-only copy of any order, and export the list to CSV.
  • One-click restore, single or in bulk. Restored orders are kept out of later automatic runs.
  • Archive one order from its edit screen.
  • Old links keep working: opening the edit link of an archived order shows the archived copy instead of an error.
  • Customers still see their history: archived orders appear under My Account Orders as a read-only “Older orders” list (can be turned off).
  • WooCommerce Subscriptions aware: orders linked to a subscription that is not cancelled or expired are kept in the live tables.
  • Privacy tools: archived orders are included in WordPress personal data exports, and erasure requests follow WooCommerce’s own “remove order data” setting.
  • WP-CLI: wp orderloft status, wp orderloft archive, wp orderloft restore.
  • Works with every order storage: High-Performance Order Storage (HPOS), HPOS with compatibility mode, and the legacy posts storage.

Orderloft Pro

Orderloft Pro is a separate add-on for stores that need more control or want the archive out of the database. The free plugin keeps every feature above, and Pro adds:

  • Unlimited archive rules: combine order age in days, months or years with statuses, payment methods, an order total range, customer roles or guest orders, refunds and product categories. Each rule has its own schedule, from hourly to weekly, and a preview of the orders it matches before anything moves.
  • Offload the archive: save archived orders as compressed files in S3-compatible storage (such as Amazon S3, Cloudflare R2, Backblaze B2 or Wasabi) or in a server folder.
  • Free database space: after each upload is verified, the archived orders are removed from the database. Restore them later into the archive or straight back to your live orders.
  • GDPR anonymisation: scrub names, addresses, emails, phone numbers and IP addresses from old orders you only keep for tax, while totals, items and dates stay.
  • Archive analytics, email reports and an activity log.

Orderloft Pro costs from $29 a year, with a 14-day refund. See Orderloft Pro.

Custom development

Need archiving to another database, custom retention rules, or help with a slow WooCommerce store? Orderloft is built and maintained by Ali Nawaz, a WordPress and WooCommerce developer. Get in touch.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums