The Fastest Way to Import XML Orders into WooCommerce

A guide describing the process of importing XML-formatted order data into WooCommerce and mapping its fields to the store’s order records.
The Fastest Way to Import XML Orders into WooCommerce
Editorial Note: This article is an analytical summary inspired by the original piece published on November 15, 2026

WP All Import can map nested XML directly to WooCommerce orders, preserving each order’s product list as separate line items rather than requiring a flattened CSV or a rewritten XML structure. Products are linked to existing store items by SKU, while customer details, shipping and totals map to order fields. This matters when orders contain different numbers of products: a spreadsheet conversion can create many empty columns and risks placing quantities or prices against the wrong item.

The plugin’s Automatic Setup accepts files uploaded from a computer, fetched by URL or retrieved over FTP/SFTP, with XML files up to 256 MB. In WordPress, the import type is selected under WooCommerce › Orders. Automatic field mapping can be reviewed before importing; customer records are matched by email, and unmatched customers are imported as guest orders. A note such as “GrandTotal includes shipping” can clarify ambiguous fields during setup.

Some exports store values in attributes rather than element text, requiring XPath mappings in Manual Setup. For example, an order status attribute can be mapped with {./@status}, while a payment method can use {Payment/@method}. The preview displays records in WooCommerce’s Edit Order interface, allowing dates and customer and shipping details to be checked before saving. In an eight-order test, the import identified eight records and completed with eight created, none updated and none skipped.

Author of the original text: Priscilla Asonibare (Breakdance)

Bring the latest industry updates to life. Download and test the most popular premium tools and extensions driving today’s WordPress innovations – fully accessible and ready for your next project.

Expand your technical knowledge. Browse our latest articles, performance head-to-heads, and essential workflows designed for modern creators.

Free Wordpress Builders