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

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

Last updated on November 4, 2024

Order, Coupon, Subscription Export Import for WooCommerce helps you quickly and efficiently import all subscription orders from one online store to another. To import the WooCommerce subscription orders:

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

Import Subscription Orders

To import WooCommerce subscriptions, click on WebToffee Import/Export(Pro) > Import.

Step 1: Select post type

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

WooCommerce Susbcription 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.  
  • primarily used when your input file was exported using the same plugin
  • 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-subscription

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 columns.pre-saved-import-method-subscription
  • Navigate to Step 3 to know more about mapping import columns.

Advanced import

  • This option will take you through a detailed process of filtering/column selection/advanced options that may be required for your import.

Step 3: Map import columns

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

  • Default fields: The column names appearing in this section can be edited if required. The preferred names and choices that were last saved can be viewed on choosing a pre-saved template.
  • Additional meta
  • Hidden meta
mapping columns during import of subscriptions

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 compute the values with expressions and creates output.

  • Expression: Any of the operators +*/-()&@ or string constants can be used along with the attributes to manipulate the respective value. 
  • Input: Select the column from the drop down which has to be modified.
  • Output: Sample value will be created based on the first record from input file.
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: On selecting “Yes”, the store is 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 maybe.
  2. If the subscription exists in the store: One can either Skip or Update the entry.
  3. If conflict with an existing post ID
  4. Link orders using _wt_import_key
  5. Delete non-matching coupons from store
advanced options during import of subscriptions
  • Save the template file for future (if needed).
Save-template-option
  • Click on Import/Schedule to finish.

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

This image has an empty alt attribute; its file name is Import-or-Schedule-Import.png

To schedule the import:

  1. Hit the Schedule option, and you will be taken to the cron schedule window as shown below:
Scheduling via WordPress cron
Scheduling via 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 via Server cron
Scheduling via 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).