How to Export WooCommerce Variable Products

To export WooCommerce variable products, go to All Export › New Export and select WooCommerce Products from the dropdown list. Customize your export file in the Drag & Drop interface. Once done, run the export and download your exported variable products.

This documentation covers how to export WooCommerce products using WP All Export. For a broader look at exporting WooCommerce products, check out:

Step 1: Create a New Export for WooCommerce Variable Products

Go to All Export › New Export and select to export WooCommerce Products from the available list of post types.

Export Variable Products New Export

Export filters can be added using the option Add Filtering Options. To learn more, see Filter Exported WordPress Data.

Since we're exporting only variable products, we will add a filter to only export those products:

Element: Product Type
Rule: In Product Type
Value: variable

Export Variable Products Filter

Click Customize Export File to continue.

Step 2: Customize Your Variable Products Export File

You now see the Drag & Drop interface where you can build your export file by dragging export fields from the Available Data section into the column selection area.

Export Variable Products Customize Export Fields

You can also remove any field by dragging it and dropping it from the column selection area to any other interface part.

To add all available fields, simply click on Add All. You can also preview the selected data with the Preview green button.

Export Variable Products Preview

This guide focuses on exporting WooCommerce variable products. As such, we will explain the export fields associated with variable products specifically.

If you want to learn more about the other export fields available for WooCommerce products, please see Understanding WooCommerce Product Export Fields.

WooCommerce Product Data

The principal WooCommerce product fields are found in Available Data › Product Data:

  • Sku: A product code used to reference and differentiate products.
  • Price: The product's current price, which is the regular price unless the sale price is active and lower.
  • Regular Price: The regular, full price of the product.
  • Sale Price: The sale price of the product.
  • Stock Status: One of several preset values. The default WooCommerce stock statuses are instockoutofstock, and onbackorder.
  • Stock: The number of products currently in stock and available for sale.
  • External Product URL: The affiliate link for external products.
  • Total Sales: Number of times the product has been sold.
  • Attributes: This will export the attribute's name, value, whether it's used in variations, is visible, and is a taxonomy. This export element creates 5 columns per each attribute. This data is more easily exported in the Attributes section.
  • Shipping Class: If configured, it exports the name of the product's shipping class.

Variable products have different attributes, such as size or color. Those attributes will be automatically detected and added to the Attributes section at the bottom of Product Data.

Export Variable Products Attributes Section

Advanced Options

You will see an Advanced Options section with the following settings:

  • Separator: Used for CSV files. Defaults to a comma (,).
  • CSV Header Row: Has the option Include header row and column titles in export enabled by default. When disabled, the CSV file would have no header row.
  • Product Variations: these settings decide how to export the product variations, with the following options available (which are self-explanatory):
    • Export product variations and their parent products
      • Product variations use the parent product title
      • Product variations use the default variation product title
    • Only export product variations
      • Product variations use the parent product title
      • Product variations use the default variation product title
    • Only export parent products
Export Variable Products Advanced Options

Step 3: Download Your WooCommerce Variable Products Export

Once the export is configured, click the blue Continue button at the bottom. You'll now see the Export Settings screen. WP All Export shows a summary of what will be exported. Here, can define Scheduling Options and change other Advanced Options for the export.

Export Variable Products Settings

After modifying any export settings needed, click Confirm & Run Export to proceed.

Once the export finishes, you'll see an export complete message along with different options to download the exported file. You can download the selected file type (i.e., CSV, Excel, XML) or a Bundle compressed zip file that has the export file along with a template to use with WP All Import.

Export Variable Products Export Complete

Advanced Topics

Control How the Product Variations Are Exported

You can export variable products in three different ways: a) both variations and their parent products, b) only variations, or c) only parent products. Here's an example output CSV file for each:

Export product variations and their parent products:

Export Variable Products Example Variations and Parents

Only export product variations:

Export Variable Products Example Variations

Only export parent products:

Export Variable Products Example Parents

You can learn more in the Advanced Options section above.

Different File Outputs: What to Expect

You can export these WooCommerce variable products in CSV, Excel, or XML format. Here's an example output from each available format:

CSV or Excel:

Export Variable Products Example Variations and Parents

XML:

Export Variable Products Example XML

Automatically Export WooCommerce Variable Products on a Schedule

With WP All Export, you can schedule WooCommerce product export using one of these scheduling options:

  • Manual Scheduling: set up manual cron jobs via your control panel (such as cPanel or Plesk) that will run your export on a schedule. Learn more in Schedule WordPress Exports Using Cron Jobs.
  • Automatic Scheduling: this is our proprietary Automatic Scheduling Service, which has a small monthly fee. Its big advantage is that you can control scheduling via WP All Export's interface: Run WordPress Export on a Schedule.

Frequently Asked Questions About Variable Product's Exports

What is a WooCommerce Variable Product?

It's a WooCommerce product that has a set of variations assigned using attributes. It provides control over stock, prices, and images for each individual variation. For example, you can have shoes that have different sizes available for sale.

How Do I Export WooCommerce Products to Excel?

  1. Make a new export via All Export > New Export.
  2. Choose WooCommerce Products from the dropdown list.
  3. Set up the export file by customizing the export columns.
  4. Change the file format in Export Type > Spreadsheet > Excel File.
  5. Run the export and proceed to download the Excel file.

To learn more, see Export WooCommerce Products.

How Do I Import a Product Variation in WooCommerce?

  1. Go to All Import › New Import in your WordPress site.
  2. Select how to import the data (i.e., upload a file, download a file from a URL, etc.).
  3. Choose WooCommmerce Products as the import target.
  4. Map incoming fields to your WooCommerce target fields with drag & drop.
  5. Use the I'm importing new variations to existing products option in the Variations tab.
  6. Perform the import.

To see the list of full import features, see Import WooCommerce Products.

What is a WooCommerce Product Attribute?

Like product tags and product categories, product attributes can be used to relate products to each other. Attributes can be used along with WooCommerce widgets to filter products, or in variable products to create distinctions between different variations.

How Do I Export my WordPress Product Feed?

  1. Navigate to All Export › New Export and choose WooCommerce Products.
  2. Modify the Export Type to Feed › Google Merchant Center Product Feed.
  3. Set up the Google Merchant Center export as required.
  4. Upload the exported .TXT file to Google.

For more information, see Export WooCommerce Products to Google Shopping.

Relevant Videos

Related Docs

Use WP All Export to obtain WooCommerce orders in a CSV or XML file.

Learn more about exporting WooCommerce customers with WP All Export.

Learn to pass your exported variable product data through a PHP function to modify it.

Lifetime support. Lifetime updates. Pay once.

Packages
Standalone
Import
Pro Package
$249
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import + Export Pro Package
$299
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
WooCommerce Import Package
$149
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import Standalone
$99
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Import + Export Standalone
$169
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
Export Standalone
$99
one-time
  • Import Pro
Import Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
  • Types
  • Export Pro
Export Add-Ons
  • WooCo
  • ACF
  • Gravity Forms
  • Users
Add to Cart
90 Day Money Back Guarantee
cross