How to Import Orders from an XML file to WooCommerceSafwana
If you have your product data in a CSV file and you are searching for a way to import them all to a WooCommerce website without any hassle, Order/Coupon/Subscription Export Import Plugin for WooCommerce has got you covered.
The plugin helps you to import the orders and the order related data stored in an XML file. The plugin helps you to import hundreds, even thousands of orders using one file using efficiently in a matter of minutes. This reduces a lot of time and effort that would have required if the orders were to be added manually.
To know more about the plugin and its features visit the product page of the plugin.
Now, let’s see how we can import an XML file using Order/Coupon/Subscription Export Import Plugin for Woocommerce.
Import Orders in XML Format
The plugin takes WooCommerce Order XML file as input which is exported from this plugin. It updates all details of the orders by importing XML file. So, to import the orders on to the website you should have an XML file prepared beforehand.
A screenshot of a sample XML file is shown below.
Note: If Order ID exists in your online store, you can update or skip that particular order. otherwise, a new order gets created by importing Order XML.
Now, go to the admin side of the website and navigate to WooCommerce > Order Im-Ex and then to the Order XML tab.
The Import Screen appears as shown below:
From the Import Orders in XML Format section, click Update Orders, the window appears as shown below:
Select XML type as WooCommerce. During importing WooCommerce Order XML to your online store, you get the option to skip the existing order from updating or overwrite the existing order.
You can import the Order XML file by the following two methods:
Method 2: Provide FTP Details. If your XML file is on the server, then to import it, you need to do FTP settings as given below:
- Select the checkbox to enable FTP import/export.
- Enter FTP Server Host/IP.
- Enter FTP User Name.
- Enter FTP Password.
- Enter the FTP Port number.
- Enter FTP Server Path.
- Select the checkbox to use FTPS.
- Select the checkbox to enable passive mode.
- Click Upload file and Import.
After a successful import, the import window appears as shown below: