WordPress 7 min read

WooCommerce HPOS compatibility: what I check before switching

Planning to enable WooCommerce HPOS? How I check plugin compatibility, custom order code, integrations and migration recovery before switching.

WooCommerce HPOS compatibility: what I check before switching

You are reviewing your WooCommerce store and find the option for High-Performance Order Storage, usually shortened to HPOS. It sounds worth enabling. Then you notice a plugin compatibility warning, or remember the custom export your previous developer built.

Before changing an existing store's order storage, I would map the parts of the business that read or update orders. Checkout is one part of that map. Dispatch, invoices, accounting sync and staff reporting matter too.

This is how I would approach a WooCommerce HPOS compatibility review, with the aim of making a considered change rather than finding the hidden dependency afterwards.

What changes when WooCommerce uses HPOS?

HPOS stores order data in dedicated WooCommerce tables instead of relying on WordPress posts and post metadata for that data. The official HPOS guide explains the storage options and compatibility controls.

For a store owner, the practical question is whether every important order workflow works with the selected storage. I would separate that question from a general promise to make the whole website faster. Product pages, images and unrelated slow code need their own investigation.

I would record the current WooCommerce version, selected order storage and synchronization settings before making any changes. Some stores already use HPOS, so I would check rather than assume a migration is required.

Check compatibility warnings and the code behind them

WooCommerce can disable the switch when an active extension declares itself incompatible. Its HPOS settings provide a way to review those extensions. I would check the installed versions and the developers' current guidance.

A warning needs resolving, but the absence of one is not a complete workflow test. A compatibility declaration describes the extension's stated support. It does not prove that an old custom snippet, integration or modified copy has been checked.

I would not add a declaration simply to make the warning disappear. The HPOS extension recipe book places declaration after examining the extension's code.

The review should produce a short list: supported components, components needing an update, custom code needing investigation, and anything that prevents a switch for now.

Find custom order queries and hidden dependencies

My next check would be code that assumes an order is a WordPress post. This can appear in a custom plugin, theme functions, a snippets plugin or an external reporting tool.

WooCommerce's recipe book explains why directly reading or writing the old posts tables can access stale or unused order data under HPOS. It recommends WooCommerce's order APIs and CRUD layer for order operations.

I would inspect the purpose of each relevant query before changing it. Does it load an order, store dispatch metadata, calculate a report or update a status? A search result containing a WordPress metadata function is not automatically an order-related problem.

The goal is to preserve the agreed behaviour while using the correct order-data interface. I would include the staff screen or downstream result in the check, not just whether the PHP runs without an error.

Unsure whether your store is ready for HPOS? Tell me which plugins, custom tools and order integrations your team depends on. I can scope a compatibility review around those workflows.
Discuss your WooCommerce compatibility with Adam

Include systems outside the WordPress plugin list

A warehouse or reporting system might connect directly to the store's database. That dependency will not necessarily appear as a WordPress plugin warning.

WooCommerce's migration guide for larger stores specifically calls out external systems reading the posts tables. I would ask how each connection gets its orders: an API, webhook, export file or direct database query.

I would follow one representative order through each business-critical connection. For an accounting sync, that means checking the destination record and required fields. For dispatch, it means checking the details the warehouse actually receives.

If the order reaches WooCommerce but not the next system, my article on tracing missing orders through webhooks covers another part of that investigation.

Treat compatibility mode as a transition tool

Compatibility mode synchronizes order data between the storage systems. I would check which store is authoritative and what synchronization is doing in the installed version.

It is not a substitute for correcting code that writes orders through the wrong interface. WooCommerce's advisory about sync on read explains how legacy writes could previously be pulled back into HPOS during a later read, and why that behaviour was being disabled by default.

I would not rely on an old synchronization assumption to keep a custom tool working. I would test the intended final setup and identify whether anything still depends on the secondary copy of order data.

The decision to keep or disable compatibility mode should follow that evidence. It should be recorded alongside the checks completed and any remaining dependency.

Test the migration on an isolated copy first

I would use a test environment matching the relevant live code and configuration, while preventing test actions from reaching live payment, email or fulfilment systems.

For an existing posts-based store, WooCommerce's enablement guide describes synchronizing the datastores before switching the authoritative order storage. I would monitor that process and investigate failures instead of treating a scheduled action as proof of completion.

I would verify representative historical orders as well as new test orders. The sample should cover the features the business uses: custom order fields, refunds, different payment methods and subscriptions where applicable.

Checkout tests alone are too narrow. I would include:

  • Opening and editing an existing order in the staff workflow.
  • Creating a test order and checking its saved details.
  • Applying the relevant status changes and refund process.
  • Generating invoices, labels or dispatch exports.
  • Checking custom reports and searches against expected records.
  • Following connected systems through to their final result.

I would repeat the affected checks under the synchronization settings intended for the final setup. A tool that only works while reading a secondary copy needs explaining before launch.

Agree the live change and recovery plan

Before a live switch, I would agree who is making it, who is checking orders afterwards and how the team reports an unexpected result. A known backup and a rehearsed recovery process belong in that plan.

Switching storage back also needs current data. The official HPOS guide describes synchronizing before reverting to posts storage. I would establish the actual fallback requirements during testing.

I would not restore an old database over a trading store without accounting for orders and changes since that backup. My article on updating WooCommerce without overwriting live orders explains that related deployment risk.

After the change, I would monitor the agreed order workflows and compare their outcomes. A page loading successfully is not the same check as an invoice containing the correct custom fields.

What a useful HPOS review should leave you with

The outcome should be a written decision you can act on: ready to switch, ready after specific repairs, or blocked by a named dependency.

I would want the review to include the versions tested, storage and synchronization settings, workflow results, custom-code changes needed and the live change plan. Any untested feature should be visible in that record.

For an agency maintaining several stores, that record also helps the next developer understand why two apparently similar sites have different order-storage settings.

What to send when you need WooCommerce help

Start with your current WooCommerce version, the storage setting, any compatibility warning and the order tools your staff use. Mention accounting, warehouse or reporting integrations, including custom ones.

I am Adam Dawson. My WooCommerce development work includes focused code reviews, custom plugins and third-party integrations. I can help define the compatibility checks and scope the repairs your store needs.

Check the order flow before changing storage Tell me how orders move through your business and what you are planning to change. I can scope a review around the dependencies that matter.
Talk to Adam about your WooCommerce store Explore WooCommerce development

Share this article

Back to Blog