How to Automatically Archive WooCommerce Orders by Age or Status - Wooninjas - The WooCommerce Ninjas

How to Automatically Archive WooCommerce Orders by Age or Status

Managing thousands of WooCommerce orders can get messy fast. Old orders fill your dashboard, slow down searches, and make reports harder to read. The WooCommerce Auto Archive Orders add-on solves this problem by moving old orders to an archive automatically after a set time or status. So, with the WooCommerce Auto Archive Orders add-on, your store stays clean, fast, and organized, and you never lose any data.

In this step-by-step guide, we’ll walk you through how to set up automatic order archiving using the WooCommerce Auto Archive Orders add-on.

Why Archive Instead of Delete?

Before we get into the process, it’s important to understand the difference:

  • Archiving Orders: Moves old or completed orders to an archive section. They are hidden from the main order dashboard but remain available for reporting, audits, or restoration.
  • Deleting Orders: Permanently removes order data, which can affect customer history, accounting, and compliance.

Archiving is safer, as you still retain your records while keeping your store’s backend optimized.

Benefits of Auto-Archiving WooCommerce Orders

Did you know that keeping your WooCommerce store clean and fast is easy with the WooCommerce Auto Archive Orders add-on? But how?

Let’s find out:

  • Better Store Speed: The WooCommerce Auto Archive Orders add-on keeps your site fast by moving old orders out of the main dashboard. This makes your database lighter and searches quicker.
  • More Organized Workflows: Your team only sees active, pending, or processing orders, so they can focus on current tasks without distractions.
  • Safe Data Storage: Archived orders are not deleted. You can still view them anytime for reports, refunds, or audits.
  • Hands-Free Automation: Once you set up the WooCommerce Auto Archive Orders add-on, it automatically archives old orders for you, saving time and effort.

So, remember that by using this add-on, you save time, stay organized, and keep your store running smoothly. Also, it’s a simple way to boost performance and reduce manual work.

Step-by-Step Guide to Set Up WooCommerce Auto Archive Orders

Step 1: Install and activate the add-on

  1. Firstly, purchase and download the WooCommerce Auto Archive Orders add-on.
  2. Go to your WordPress dashboard, Plugins > Add New > Upload add-on.
  3. Upload the add-on file, install it, and click Activate.
  4. A new WC Auto Order Archive menu appears in your WP dashboard. 
Image showing the first step on how to set up the WooCommerce Auto Archive Orders add-on.

Step 2: Quick anatomy of the add-on

  • Dashboard: Snapshot of total vs archived orders + shortcut to Archive Now.
Image showing a Snapshot of total vs archived orders + shortcut to Archive Now.
  • Archive Order: where you define filters (age, status, meta) and create schedules. 
Image showing where you can define filters.
  • Archived Orders: view, search, restore, export (Excel), or restore all.
Image showing a list of the archived orders.
  • Manage Schedules: see/edit/delete scheduled jobs.
Image showing how to manage the schedules.
  • General Settings: email notifications, delete-after-export, role permissions, and optional purge rules.
Image showing the general settings of the WooCommerce Auto Archive Order add-on.

Step 3: Create an age-based auto-archive

  1. Go to WC Auto Order Archive > Archive Order.
  2. Under Archive Orders older than select time period (e.g., 3 months)
  3. (Optional) Choose Order Status if you want to limit to certain statuses. If you pick nothing, all statuses qualify.
Image showing a schedule to archive WooCommerce orders.
  1. (Optional) Use Include/Exclude Meta fields (e.g., customer ID, billing country, payment method, totals) to refine the rule.
  2. Click Schedule as a Task > name it > set Date/Time > choose frequency (No Repeat, Hourly, Twice Daily, Daily, Weekly, Monthly, Quarterly, Annually) > Set Schedule.
Image showing how to Include/Exclude Meta fields.
Image showing where you can archive now or set as a schedule on when you want to archive.

Result:

Image showing a list of the archived orders.

Step 4: Create a status-based auto-archive 

  1. Still in Archive Order:
  • Archive Orders by Matching Date: choose 2 Weeks.
  • Order Status: select Completed.
Image showing where you can archive now or set as a schedule on when you want to archive.
  1. (Optional) Use Include/Exclude Meta fields 
  2. Click Schedule as a Task > name it > set Date/Time > choose frequency (No Repeat, Hourly, Twice Daily, Daily, Weekly, Monthly, Quarterly, Annually) > Set Schedule.
Image showing how you can include and exclude meta and schedule archived orders.

Results:

Image showing a short list of archived orders.

Step 5: Run it once right now (manual)

Click Archive Now to execute immediately using the on-screen criteria.

Image showing a warning action if really want to archive the orders or not.
  • Please remember: Don’t close the tab while it runs; the process pauses if you leave.
Image showing where you can archive now or set as a schedule on when you want to archive.
Image showing a data which has been completely restored.
  • The archived orders will be shown in the “Archived Orders” tab.
Image showing a list of archived orders.

Go to WC Auto Order Archive < General Settings:

  • Email Notification Status: Enable admin emails and customize subject/body. Shortcodes like [first_last_name] and [woaa_order_value] are supported.
Image showing email notification settings.
  • Role & Permissions: Decide which WP roles can see each tab.
Image showing who has the permission to archive the orders.
  • Delete Orders (Purge): optionally delete orders permanently when archiving (6 months / 1 / 2 / 3 years). Deletion actually happens only when an archive run is triggered (manual or scheduled).
Image showing general settings.
  • Subscription safety: the add-on includes compatibility to avoid archiving subscription orders. 

Step 7: Verify, restore, and export

Open Archived Orders to confirm results, restore single orders or Restore All, and Export to Excel if needed. 

Image showing a list if archived orders from July.

Top Practices for Safe WooCommerce Order Archiving

  • Choose realistic timeframes: Don’t archive too soon; customers may still request updates or refunds.
  • Keep audit compliance in mind: Many businesses are legally required to retain sales data for several years.
  • Test before applying site-wide: Archive a small batch to confirm everything works as expected.
  • Combine with order export: Export reports before archiving if you need offline records.

Example Schedules You Can Copy

  • Completed ≥ 90 days – monthly.
  • Refunded/Cancelled ≥ 14 days – weekly.
  • On-hold ≥ 60 days (stale) – weekly with exclusions for key customers.
  • All statuses ≥ 1 year – quarterly.
    (These keep the live orders list lean and speed up admin queries while preserving history you can restore anytime.)

Final Thoughts

Automatic archiving is an easy way to keep your WooCommerce store fast and tidy. Instead of deleting old orders by hand, the WooCommerce Auto Archive Orders add-on does it for you. Your store stays organized, your data stays safe, and everything runs smoothly.

If you get lots of orders, this tool can save your team a lot of time and stop your site from slowing down.

Keep Your WooCommerce Store Fast with WooNinjas!

Tired of a slow and cluttered WooCommerce dashboard? Let WooNinjas help! Our experts specialize in creating custom WooCommerce solutions. This includes advanced order archiving, automation, and performance optimization so you can focus on growing your business instead of cleaning up old orders.

  • Custom Setup & Optimization – We’ll configure the Auto Archive Orders add-on for you.
  • Performance Tuning – Speed up your store and improve reporting efficiency.
  • Ongoing Support – Get help whenever you need it.

So, are you ready to supercharge your WooCommerce store? Then, contact WooNinjas today and let’s make your order management effortless!

Share This Story, Choose Your Platform!

Our products are trusted by 3000+ happy customers!

Latest Posts

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top