---
title: "Export WooCommerce Orders with HPOS Enabled (No Compatibility Mode)"
url: "https://wpimportexport.com/woocommerce-hpos-export-orders/"
description: "With HPOS on, orders are no longer in wp_posts and old exports come back empty. Export orders and custom order fields from the HPOS tables to CSV or Excel."
type: post
published: 2026-11-28T17:00:00+00:00
modified: 2026-11-25T18:43:50+00:00
categories: ["Export Guides", "Tutorials", "WooCommerce"]
tags: ["CSV Export", "Import Export by RockStarLab", "WooCommerce"]
docs_topics: ["Export guides", "WooCommerce"]
---

# Export WooCommerce Orders with HPOS Enabled (No Compatibility Mode)

Since WooCommerce 8.2, new stores keep orders in High-Performance Order Storage (HPOS): their own tables `wp_wc_orders`, `wp_wc_order_addresses`, `wp_wc_order_operational_data` and `wp_wc_orders_meta` instead of `wp_posts` and `wp_postmeta`. Exports that read the posts tables directly, such as an SQL query or an old export plugin, then return no orders or rows with empty addresses and totals. **Import Export by RockStarLab PRO** reads orders through WooCommerce itself, so the export is the same whether the store uses HPOS or the legacy storage, including custom order fields stored in `wp_wc_orders_meta`.

**PRO:** WooCommerce order export is part of the PRO plugin. The test below used WooCommerce 11.2 with HPOS on and compatibility mode off, and Import Export by RockStarLab PRO 2.1.31.

## Short Answer

In the plugin’s Export, choose **WooCommerce Orders (8.0+)**, filter by status or date, pick the columns and export to CSV or Excel. You don’t need to turn on WooCommerce’s compatibility mode or sync orders back to the posts table first. Custom order fields added by checkout or delivery plugins appear in the **Custom Fields** group as `meta_<name>` columns.

## Check How Your Store Stores Orders

Go to **WooCommerce > Settings > Advanced > Features**. Under **Order data storage**, our test store used High-performance order storage, with compatibility mode off:

![WooCommerce Features settings with Order data storage set to High-performance order storage and compatibility mode turned off](https://wpimportexport.com/wp-content/uploads/2026/11/hpos-setting-1024x235.webp)

_HPOS on, compatibility mode off._

With compatibility mode off, WooCommerce stops copying orders to the posts table. In our store, `wp_posts` held 12 rows of the type `shop_order_placehold`, placeholders without addresses, items or totals, while `wp_wc_orders` held the actual orders. A query on `wp_posts` with `post_type = 'shop_order'` returned nothing. This is why exports built for the old storage come back empty.

## Export the Orders

In **Import Export by RockStarLab > Export**, we chose **WooCommerce Orders (8.0+)**. On the Filters step we added **Status**, **In**, `processing, completed`, which left 5 of the store’s 10 orders:

![Order export Step 2 with the filter Status In processing, completed and 5 items available](https://wpimportexport.com/wp-content/uploads/2026/11/hpos-filter-1024x501.webp)

_Only processing and completed orders._

On the Fields step we dragged in Order Number, Order Date, Status, the billing name and email, Order Total, Item Name and Item Quantity from their groups, and `delivery_slot` from Custom Fields, a custom field we had added to each order, the way delivery and checkout plugins do:

![Order export Step 3 with ten columns including Order Number, Status, billing name and email, Order Total, Item Name, Item Quantity and delivery_slot](https://wpimportexport.com/wp-content/uploads/2026/11/hpos-fields-1024x576.webp)

_Order columns and a custom field from wp_wc_orders_meta._

We exported to Excel. The file:

| order_number | order_status | billing_first_name | billing_last_name | order_total | item_name | item_quantity | meta_delivery_slot |
| --- | --- | --- | --- | --- | --- | --- | --- |
| 2776 | processing | Anna | Keller | 49.00 | Hoodie with Logo | 1 | Morning |
| 2777 | completed | Marco | Rossi | 200.00 | Belt \| Hoodie with Pocket | 3 \| 1 | Evening |
| 2779 | completed | Lena | Novak | 34.00 | T-Shirt \| Cap | 1 \| 1 | Afternoon |
| 2782 | completed | Tom | Becker | 36.00 | T-Shirt with Logo \| T-Shirt | 1 \| 1 | Evening |
| 2781 | processing | Sofia | Lima | 54.00 | Beanie with Logo \| Beanie | 2 \| 1 | Morning |

The order date and billing email columns are in the file too; we left them out of the table. Every value came from the HPOS tables: addresses from `wp_wc_order_addresses`, totals from `wp_wc_orders` and the delivery slot from `wp_wc_orders_meta`.

## Things to Know

- **Compatibility mode is not needed.** Turning it on makes WooCommerce write every order to both storages. The export doesn’t depend on it.
- **Refunds.** Refunds are separate records in WooCommerce. Use the **Refunds** column for the refunds of each order, or the WooCommerce Refunds export.
- **One row per order or per item.** Item columns join several items with `|`. For one row per item, see [exporting orders with one row per order item](https://wpimportexport.com/export-woocommerce-orders-one-row-per-item/).
- **Moving orders to another store.** The import writes orders through WooCommerce too, so it works with HPOS on either side. Export with the **Order Items** column, which carries the full line items, rather than only the Item Name and Item Quantity columns.
- **All custom fields at once.** The **Order Meta** column carries the order’s custom fields as JSON, for example `{"delivery_slot":"Evening"}`.

## With an AI agent

Import Export by RockStarLab gives AI agents its exports, imports and Content Sync as abilities. Through the WordPress MCP Adapter, WordPress itself offers an agent only read-only abilities for site, user and environment information, so without the plugin the agent cannot do the steps above (to connect an agent, see [connecting Claude Code to WordPress](https://wpimportexport.com/connect-claude-code-to-wordpress-mcp/)). With it, one request is enough:

```
With Import Export by RockStarLab, list the processing orders with their number, total and delivery slot.
```

In our run, the agent called `rsl-ie-pro/export-preview` with the export type `woo_order`, the status `processing` and the fields order number, status, total and `meta_delivery_slot`. It returned orders 2776 (49.00, Morning) and 2781 (54.00, Morning).

## FAQ

### Why does my WooCommerce order export come back empty after enabling HPOS?

The export reads `wp_posts` and `wp_postmeta`, where WooCommerce no longer keeps orders when HPOS is on and compatibility mode is off. Use an export that reads orders through WooCommerce, which works with both storages.

### Do I need compatibility mode to export orders?

No. Import Export by RockStarLab PRO exports orders from the HPOS tables directly through WooCommerce.

### Are custom order fields exported with HPOS?

Yes. Custom fields stored in `wp_wc_orders_meta` appear in the Custom Fields group as `meta_<name>` columns.

### Can I import orders into a store that uses HPOS?

Yes. The order import saves through WooCommerce, so the orders land in the HPOS tables, or in the posts tables on a legacy store.

## Related Guides

- [Export WooCommerce Orders with One Row per Order Item](https://wpimportexport.com/export-woocommerce-orders-one-row-per-item/)
- [Export WooCommerce Orders by Date Range for VAT and Tax Reports](https://wpimportexport.com/export-woocommerce-orders-date-range-vat-tax-report/)
- [Export WooCommerce Orders with Checkout Fields: Delivery Date, Gift Message and More](https://wpimportexport.com/export-woocommerce-orders-custom-checkout-fields/)
- [How to Migrate WooCommerce Store Data to Another Site](https://wpimportexport.com/how-to-migrate-woocommerce-store-data-to-another-site/)

Get the free plugin on [WordPress.org](https://wordpress.org/plugins/import-export-by-rockstarlab/). WooCommerce order export and import are part of PRO.
