How to Import WooCommerce Orders

When you have to add new information to your website, or you have to update the existing order’s details on your website, manually doing all the work is going to take forever. Order/Coupon/Subscriptions Import Export Plugin for WooCommerce lets you to import all your orders and related data to a WooCommerce store, or any other e-commerce platform.

To begin with the plugin, download, install and activate.

Import Orders

To import WooCommerce orders:

  • Click on WebToffee Import/Export(Pro) > Import.

Step 1: Select post type

As a first step, you need to choose the post type as Order.

Order Import-Step 1

Step 2: Select import method

Choose from the below options to continue with your import:

  • Quick import 
  •  Based on a pre-saved template 
  •  Advanced import

Let us have a look at each of these export methods:

Quick Import

  • imports the basic/standard fields of the respective post type.  
  • This option is preferred, when the same plugin was used to export the input file.
  • One can import file from:
    1. Local
    2. URL
    3. FTP

Click the Import button to complete the action or proceed to Step3 for advanced options.

WooCommerce-import-export-Order-Import-quick-method

Pre-saved template

  • This method retains the previous filter criteria and other column specifications as per the chosen file and imports data accordingly.
  • By selecting this option, one can choose a previously saved template from the Import template drop-down.
  • Click the Import button to complete the action or proceed to Step3 to map and reorder columns.step2-pre-saved-template-order-import
  • Navigate to Step 3 to know more about mapping and reordering import columns.

Advanced import

  • This option takes you through a detailed method of filtering/column selection/advanced import options.
Import orders-advanced import

Step 3: Map import columns

Here, one can map the import columns under the following 3 fields:

  • Default fields: The mapped column names appearing in this section can be modified/edited if required. The preferred names and choices that were last saved can be viewed on choosing a pre-saved template. 
  • Meta(custom fields)
  • Hidden meta
Sample of Hidden meta being mapped

Evaluate field

Evaluate field can be used to append a value/expression to an existing item while importing. It basically selects/maps any column from the input file and computes the values with expressions and creates output.

  • Expression: To manipulate the respective value, any of the operators +*/-()&@ or string constants can be used along with the attributes . 
  • Input: Select the column from the drop down which has to be modified.
  • Output:On the basis of the first record from the input file, sample value will be created.
evaluate-field
  • Click on Step 4 to proceed.

Step 4: Advanced Options/Batch Export/Scheduling

  • On reaching Step 4, the following window will appear, from where one can:
    1. Update Only: Only matching/existing records from the input file will have their data updated in the store, on selecting “Yes”. Depending upon the situation, the entire data from the input file is processed  for an update or insert, on selecting “No”.
    2. If order exists in the store: One can either Skip or Update the entry.
    3. If conflict with an existing Post ID: One can either Skip item or Import as new item. When importing as a new item, the order id and order number in the file will not be retained. WordPress will auto generate these values. 
    4. Create User: One can create a customer and notify them if needed.
    5. Link products using SKU instead of Product ID
    6. Delete non-matching orders from store
  • Save the template file for the future (if needed).
Save template
  • Click on Import/Schedule to finish.
Import order-advanced options

You can either import the orders directly into your store or schedule the import using FTP.

Import-schedule button

To schedule the import:

  1. Click on the Schedule option and the cron schedule window will appear as shown below:
Schedule Now screen

The plugin supports two different schedule types:

  1. WordPress Cron: Upon a visit, WordPress Cron will check to see if the time/date is later than the scheduled event/s, and if it is– it will fire those events.
    • schedules your job at the specified time. 
    • is dependent on your website visitors.
  2. Server Cron: You may need to trigger the URL every minute depending on the volume of data to be processed.You can use this option :
    • to generate a unique URL that can be added to your system in order to trigger the events. 
    • if you have a separate system to trigger the scheduled events.
Server cron scheduling

You can also configure the time at which the import is to be scheduled.

To directly import:

  1. Hit on the Import option

Once the import is completed, a pop-up will be displayed showing import status which contains the number of successful imports and failed imports (if any).

  • Was this article helpful?
  • YesNo