How to Export WooCommerce Products
To export your products, navigate to All Export › New Export and choose WooCommerce Products. Build your export file by using the drag & drop tool. Run the export, then download your file.
Step 1: Create a New Export for WooCommerce Products
Navigate to All Export › New Export and choose a post type of WooCommerce Products. To continue, click the Customize Export File button.
If you need to export only some products, you can add filters in this step. For more information, see the section Filtering WooCommerce Product Exports later in this document.
Step 2: Customize Your WooCommerce Products Export File
In most cases, you don't need to export all of your WooCommerce product fields. WP All Export's simple Drag & Drop interface allows you to select the exact fields that you want.
To add a field to your product export, simply drag it from the Available Data section on the right to the column selection area:
Dragging a column out of the selection area and dropping it on another part of the interface removes the column from the export.
You can also use the green buttons at the bottom of the column selection area to Add Field, Add All (fields) or Clear All (fields). There's also a Preview button to see an example of the first ten products that will be exported.
Understanding WooCommerce Product Export Fields
The available export fields are divided into the following sections: Standard, Product Data, Media, Taxonomies, Custom Fields, and Other.
WooCommerce Standard Data
WooCommerce standard data is found under Available Data › Standard.
- ID: The post ID, a unique number given to every post in WordPress.
- Title: The title or name of the WooCommerce product.
- Content: A description of the product.
- Short Description: Similar to the excerpt for posts, usually a summary of the content section.
- Date: The date the product was published, in y-m-d format.
- Post Type: The post type being exported, which is
productin this case.
- Permalink: The URL of the product.
- Parent Product ID: WooCommerce variable products are attached to a parent product, and this exports the post ID of that parent product (a
0is exported for products without a parent).
WooCommerce Product Data
More detailed WooCommerce product data is 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
- 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 data is more easily exported in the Attributes section.
- Shipping Class: If configured, it exports the name of the product's shipping class.
If your product has attributes like size or color, they will automatically be detected and added to the Attributes section at the bottom of Product Data.
Images and file attachments associated with your WooCommerce products are in Available Data › Media. Images and files are treated the same by WordPress. There are two sections inside the Media section: Images and Attachments (not shown in the image below due to a lack of space). Both contain the same types of fields:
- URL: The URL of the file or image.
- Filename: The filename of the file or full-size image.
- Path: The path or location on the server of the file or image.
- ID: The attachment ID of the file or image, similar to a post ID.
- Title: The file or image title.
- Caption: The file or image caption.
- Description: The file or image description.
- Alt Text: The file or image alternative text.
- Featured: The URL of the featured image.
The categories and tags attached to the products are in Available Data › Taxonomies. By default, there are only two, but all custom taxonomies will be automatically detected and available here.
- Product categories
- Product tags
WooCommerce Custom Fields
Custom fields are in Available Data › Custom Fields. The custom fields are data added by custom code or third-party plugins. For example, fields added by Yoast SEO would appear here.
Other, less-used product data is in Available Data › Other. This is an incomplete list with only the more important export fields:
- Status: Similar to the post status. The default product statuses are
- Slug: The database friendy name of the WooCommerce product, used in the product URL.
- Downloadable: Whether the product is downloadable or not.
- Downloadable Files: This contains the files for that product if the product is downloadable.
- Sale Price Dates From: When the sale date starts.
- Sale Price Dates To: When the sale date ends.
- Manage Stock: If the WooCommerce product handles stock or not, exports
- Up-Sells: SKU list of up-sell products. Multiple products are separated by a pipe ( | ) character.
- Cross-Sells: SKU list of cross-sell products. Multiple products are separated by a pipe ( | ) character.
- Tax Status: Exports the product's current tax status. Default is none. It can also export as taxable or shipping (used for Shipping only).
- Tax Class: This is the tax class selected for the product. The defaults are standard, zero-rate, and reduced-rate.
- Weight: Product's weight.
- Length: Product's length.
- Width: Product's width.
- Height: Product's Height.
Step 3: Download Your WooCommerce Product Export
After you've configured your product export, click Continue to check your export settings. When you're ready to run your export, click Confirm & Run Export.
Once the export is complete, you will have two options to download your export file, both shown in the Click to Download section. One is the selected file type for your export (in this case, the default file type of CSV). The other is the Bundle option, which downloads a zip file that contains the export file and an import template. You can use the import template to migrate WooCommerce products to another site using WP All Import.
Here's a quick look at an example WooCommerce product export:
Advanced Product Export Topics
Filtering WooCommerce Product Exports
Often, a user wishes to export only a subset of WooCommerce products. This subset can be based on product categories, stock availability, or any of the export fields described in the previous sections of this tutorial.
To filter your products, expand the Add Filtering Options panel near the bottom of the New Export screen (step 1 in the above guide), then select an Element, Rule, and Value:
In this example, you are setting:
Element = Product categories
Rule = In Product Cat
Value = classic
This is the same as saying, “Export WooCommerce products with a product category of 'classic'."
If required, you can also combine multiple filters. For example, to export products with a product category of "classic" and that are currently in stock, set your filters like this:
Product filters can be as complex as you need them. You can also modify existing export filters via All Export › Manage Exports › Settings using the same Filtering Options section.
Default Export File Format: CSV
By default, WP All Export exports to a CSV file format. This means that all new exports will automatically have CSV FIle selected as the Export Type:
CSV stands for comma-separated values, which is a delimited text file that uses commas to separate values. This format can be opened with spreadsheet software or with most text editors.
How to Export in a Different File Format: Excel
To export to Excel, do the following in the Drag & Drop interface (step 2 in the guide above):
- Expand the Export Type panel just below the Advanced Options panel.
- Select Spreadsheet as your principal export type.
- Select either Excel File XLS or Excel File XLSX as your specific file format.
Excel files, either XLS or XLSX, can be opened using Microsoft Excel or other spreadsheet software that supports it.
How to Export in a Different File Format: XML
Prefer exporting an XML file? See below:
- Expand the Export Type panel.
- Choose Feed.
- Select either Simple XML Feed or Custom XML Feed.
XML stands for Extensible Markup Language, which is a markup language that doesn't have predefined tags to use. Instead, you define your own tags.
Note that the Simple XML Feed creates a simple, single-level XML feed of your product data that will work for most cases. If you need something more sophisticated, the Custom XML Feed option lets you fully customize the structure of your XML file (including nested elements), control the names and order of the XML elements, and easily add static data to the feed. For more information on XML, see exporting WordPress data to XML.
Google Merchant Center Product Feed Export
There is also a Google Merchant Center Product Feed option (under Export Type) that lets you easily upload WooCommerce Products to the Google Merchant Center. WP All Export extracts all of the necessary information from your WooCommerce products to satisfy this feed format, with options to map categories and configure other options that are specific to the Google Merchant Center. This option generates a .TXT file out-of-the-box.
Advanced Options Available to Export WooCommerce Products
You can see the Advanced Options panel just above the Export Type section:
Use this panel to control various settings for the export file. For CSV files, these include:
- The field separator. The most common choices here are either the comma or the pipe (I) separator.
- Whether to include header row and column titles in the export.
- Settings for exporting product variations, all of which are self-explanatory.
Excel files only allow the product variations options, while XML files support both product variations options and CData tags.
Frequently Asked Questions About Product Exports
How to Schedule WooCommerce Product Exports?
You can schedule your WooCommerce product exports to run on any schedule. You can do this using either cron jobs manually via your server, or by using our automatic scheduling service to set your product export schedule directly from our interface.
To learn more, please see How to Schedule WordPress Exports.
How to Import Products to WooCommerce?
- In the WordPress main menu, navigate to All Import › New Import.
- Choose how you want to import your data (i.e., upload a file, download a file from a URL, etc.).
- Select your import file.
- Choose your import target (i.e., WooCommmerce Products).
- Map incoming fields to your WooCommerce target fields using drag & drop.
- Perform the import.
For a full list of import features, see Import WooCommerce Products.
How to Migrate WooCommerce Products to a Different Website?
- Export a set of WooCommerce products.
- When downloading your export file, choose the Bundle option. In addition to the exported products, the bundle contains an import template.
- To migrate the products to the other site, upload the bundle file.
- WP All Import will automatically import the WooCommerce products from the bundle file based on its import template.
- Check your imported products.
For additional information, see Migrate WooCommerce Products.
How to Export a WooCommerce Product Image?
- Use WP All Export and the WooCommerce Export Add-On to export your product images.
- Create a new export for WooCommerce products, as explained in this guide.
- Add the images and attachments to the export as per the WooCommerce Media section of Step 2 in this guide.
- Make sure to use the Media > Images subsection of Available Data.
- Run the export and download the export file with the product images.
For more information, see Export WooCommerce Products.
How to Bulk Edit WooCommerce Products?
- Export the WooCommerce products you wish to edit.
- Open the export file in a spreadsheet app, where it is easy to perform bulk edits using copy and paste, search-and-replace functions, etc.
- Complete your edits.
- Reimport the edited file back into WooCommerce.
- Verify your results.
To learn more, please see Easily Bulk Edit WooCommerce Products.
How to Export a WooCommerce Product Feed?
- Go to All Export > New Export and select WooCommerce Products.
- Change the Export Type to Feed > Google Merchant Center Product Feed.
- Configure the export as required.
- Upload to Google.
- You can also create a custom WooCommerce product feed.
See Export WooCommerce Products to Google Shopping for more information.
How to Export Product Attributes in WooCommerce?
- Create a new export via All Export > New Export.
- Select to export WooCommerce Products from the dropdown list.
- Drag and drop the desired attributes from Available Data > Product Data > Attributes.
- Continue the export and download the exported file.
- Review the exported product attributes.
See Export WooCommerce Products for additional details.
How to Export One Product From WooCommerce?
- Create a new export in All Export > New Export.
- Select WooCommerce Products from the dropdown list.
- Click on Add Filtering Options and add a rule to target the desired product.
- Proceed to export the product.
- Download the exported WooCommerce product.
See Export WooCommerce Products to learn more.
How to Export All WooCommerce Products?
- Navigate to All Export > New Export.
- Select to export WooCommerce Products from the available post types.
- Customize the export file with all of your WooCommerce products, i.e. do not apply any filters.
- Process and complete the export.
- Download the exported WooCommerce products.
For more information, see Export WooCommerce Products.
How to Export Sales from WooCommerce?
- Navigate to All Export > New Export.
- Choose to export WooCommerce Orders in the dropdown list.
- Define the export template with all of your orders.
- Proceed to run the export.
- Download the exported file with all of your sales.
For additional details, see WooCommerce Order Export.
How to Print a WooCommerce Product List?
The quickest way to print a WooCommerce product list is to click Control+P from your browser. Just click the Print button to print your WooCommerce product list. If you want to control layout, styling, or manipulate the list data in any way, export your products to a spreadsheet and print from there.
How to Export WooCommerce Products to Excel?
- Create a new export in All Export > New Export.
- Select WooCommerce Products from the available post types to export.
- Customize the export file to set up your product’s export.
- Select Export Type > Spreadsheet > Excel File.
- Complete the export and download the exported Excel file.
To learn more, see Export WooCommerce Products.
How Do I Export WooCommerce Product Categories?
- Set up a new export via All Export > New Export.
- Choose WooCommerece Products from the dropdown list.
- Build your export file, drag and drop the products categories from Available Data > Taxonomies.
- Complete the export.
- Download and review your exported products along with their product categories.
See Exporting WooCommerce Taxonomies for additional information.
Export your WooCommerce reviews using WP All Export.
Learn more about exporting WooCommerce customers with WP All Export.
Export WooCommerce coupons using WP All Export.