Home > Docs > Order / Coupon / Subscription Export Import Plugin for WooCommerce > Import Orders Using Order, Coupon, Subscription Export Import for WooCommerce Plugin

Import Orders Using Order, Coupon, Subscription Export Import for WooCommerce Plugin

Last updated on September 26, 2024

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, Subscription Export Import for WooCommerce lets you import all your orders and related data to a WooCommerce store or any other e-commerce platform. To import WooCommerce orders:

  • Select the post type as Order.
  • Select an import method.
  • Map the import columns.
  • Use advanced options/ batch import and scheduling.

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

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.

Selecting the post type as Orders during import
Selecting the post type as Orders during import

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.  
  • 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.

Quick import method during import
Quick import method during import

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.
pre saved template method during import of orders
Pre saved template method during import of orders

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.
Advanced import method in the import process
Advanced import method during 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
Mapping import columns during import of orders
Mapping import columns
Hidden meta mapping in the import and export plugin for WooCommerce
Sample of Hidden meta being mapped

Evaluate field

During import, when we have to append a value/expression to an existing item, Evaluate field is used. 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 in the import and export plugin for WooCommerce
  • 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: On selecting “Yes”, the store will be updated with the data from the input file only for matching/existing records from the file. On selecting “No”, the entire data from the input file is processed for an update or insert as the case may be.
    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. These values will be auto generated by WordPress. 
    4. Email customer on order status change: Choose Yes to send the email.
    5. Create User: One can create a customer and notify them if needed.
    6. Link products using SKU instead of Product ID: Choose Yes to link the products.
    7. Delete non-matching orders from store: Enable the option to delete the non-matching orders.
    8. Update stock details: Enable the option to update the stock details.
  • Save the template file for the future (if needed).
saving-a-template
Saving a template
  • Click on Import/Schedule to finish.
Advanced options during import of orders
Advanced options during import of orders

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

Import button
Import button

To schedule the import:

  1. Hit the Schedule option, and you will be taken to the cron schedule window as shown below:
Scheduling WordPress cron
Scheduling WordPress cron

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.
Scheduling Server cron
Scheduling Server cron

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).