discount sale
  • Days
  • Hrs
  • Mins
  • Secs
30% Off

Use coupon code 'DSJ30' Limited Offer!!

Importing digital products to WooCommerce using a CSV file

How to Import Digital Products to WooCommerce Using CSV

AI Summary

Adding digital products individually can become time-consuming when you have dozens or hundreds of eBooks, PDFs, audio files, software downloads, courses, or other downloadable resources.

A CSV file lets you add these products to WooCommerce in bulk. You can include product names, prices, descriptions, categories, downloadable file URLs, download limits, expiry periods, images, and other details in a single file.

In this guide, we’ll explain how to prepare a WooCommerce digital product CSV and import it using two methods:

  1. WooCommerce’s built-in product importer
  2. WebToffee’s Product Import Export plugin for WooCommerce

Understanding Digital Products in WooCommerce

In WooCommerce, a digital product is anything a customer can buy and access online without shipping. These products are delivered electronically after purchase. Common examples include:

  • eBooks and PDFs
  • Online guides, checklists, and worksheets
  • Software files or plugins
  • Audio files, music, or podcasts
  • Video files or digital courses
  • License keys or downloadable resources

If the product doesn’t need to be packed or shipped, WooCommerce can treat it as a digital product.

Virtual vs Downloadable Products in WooCommerce

Although the terms are often used together, virtual and downloadable products are not exactly the same.

Virtual Products

A virtual product does not require physical shipping. When you mark a product as virtual, WooCommerce removes shipping-related fields and calculations for that product.

Examples include:

  • Online consultations
  • Digital services
  • Membership access
  • Event registrations

Downloadable Products

A downloadable product gives customers access to one or more files after purchase.

Examples include:

  • PDFs
  • ZIP files
  • Audio files
  • Videos
  • Software installers
  • Digital templates

Can a Product Be Both Virtual and Downloadable?

Yes. Most digital products should be marked as both virtual and downloadable.

For example, an eBook does not require shipping and includes a PDF file. It should therefore have both settings enabled.

However, a product can be:

  • Virtual but not downloadable, such as an online consultation
  • Downloadable but not virtual, such as a physical book that includes a free PDF
  • Both virtual and downloadable, such as an eBook or software file

Before You Import Digital Products

A few checks before the import can help prevent broken downloads, duplicate products, encoding problems, and failed rows.

Use this checklist before uploading your CSV:

  • Back up your WooCommerce store.
  • Test the import with two or three products first.
  • Save the CSV using UTF-8 encoding.
  • Assign a unique SKU to every product.
  • Confirm that every downloadable file URL works.
  • Use direct HTTPS URLs wherever possible.
  • Make sure the CSV column headings are clear and consistent.
  • Check the download limits and expiry periods.
  • Verify that product image URLs are publicly accessible.
  • Avoid changing existing SKUs when updating products.

Preparing Your Digital Products for CSV Import

Before you upload digital products using a CSV file, it’s important to do a bit of preparation. Spending a few minutes organizing your files and CSV data upfront can save you from import errors, broken downloads, and extra cleanup later.

Let’s break this down step by step.

Organizing Digital Files

Your CSV file will only work properly if WooCommerce can access the digital files you’re selling. That means your files need to be hosted correctly and linked properly. WooCommerce supports different ways to host digital files. You can choose what works best for your store.

WordPress Media Library

You can upload your files directly to the WordPress Media Library and use their URLs in your CSV.

This method is:

  • Easy to manage from WordPress
  • Suitable for PDFs, images, and smaller ZIP files
  • Convenient for stores with a limited number of downloads

However, it may not be ideal for very large files or stores with high download traffic.

Cloud Storage or Object Storage

You can host files using services such as Amazon S3 or another compatible cloud storage provider.

This can provide:

  • Better performance for large files
  • Reduced load on your WordPress hosting server
  • More control over file storage and delivery
  • Improved scalability

External File URLs

You can also use external file URLs, but the link must point to a file that WooCommerce and the customer can access.

Be careful when using Google Drive, Dropbox, or similar platforms. A sharing-page URL may not work as a direct downloadable file URL.

Before adding an external URL to the CSV:

  1. Open the URL in a private browser window.
  2. Confirm that it opens or downloads the correct file.
  3. Check that the link does not require a login.
  4. Avoid temporary or expiring URLs.
  5. Make sure the server does not block external access.

Content Delivery Network

A CDN can help customers download files from a server closer to their location. This may improve download speed and reliability.

Prepare the WooCommerce Digital Product CSV

Once your downloadable files are ready, you can prepare the CSV file.

The file should contain one row for each product and separate columns for each product field.

Recommended CSV Columns for Digital Products

The following fields cover the most common requirements for importing digital products.

CSV columnExample valuePurpose
TypesimpleDefines the WooCommerce product type
SKUebook-001Provides a unique product identifier
NameWooCommerce Setup GuideSets the product name
Published1Publishes the product
Regular price19.99Sets the product price
Virtual1Disables shipping requirements
Downloadable1Enables downloadable files
Download 1 nameSetup Guide PDFSets the customer-facing file name
Download 1 URLhttps://example.com/files/setup-guide.pdfProvides the downloadable file URL
Download limit3Limits the number of downloads
Download expiry days30Sets the link expiry period
DescriptionProduct descriptionAdds the full product description
Short descriptionShort summaryAdds the summary shown near the price
CategoriesDigital Products > eBooksAssigns the product category
Tagswoocommerce, ebookAdds product tags
Imageshttps://example.com/images/guide.jpgImports the product image
In stock?1Marks the product as available

Use a consistent format throughout the CSV. For Boolean fields such as Virtual, Downloadable, Published, and In stock, use 1 for enabled and 0 for disabled.

Example WooCommerce Digital Product CSV

Here is a basic CSV example for a downloadable eBook:

Type,SKU,Name,Published,Regular price,Virtual,Downloadable,Download 1 name,Download 1 URL,Download limit,Download expiry days simple,ebook-001,WooCommerce Setup Guide,1,19.99,1,1,Setup Guide PDF,https://example.com/files/woocommerce-setup-guide.pdf,3,30

This row tells WooCommerce to:

  • Create a simple product
  • Use ebook-001 as the SKU
  • Publish the product
  • Set the price to 19.99
  • Disable shipping
  • Enable downloadable content
  • Attach a PDF file
  • Allow three downloads
  • Expire the download link after 30 days

How to Add Multiple Downloadable Files

WooCommerce can attach multiple downloadable files to the same product. For example, an online course might include:

  • A course workbook
  • A checklist
  • A bonus template

Add separate numbered columns for each downloadable file.

Download 1 nameDownload 1 URLDownload 2 nameDownload 2 URL
Course Workbookhttps://example.com/course.pdfBonus Checklisthttps://example.com/checklist.pdf

A CSV row with two files might look like this:

Type,SKU,Name,Virtual,Downloadable,Download 1 name,Download 1 URL,Download 2 name,Download 2 URL
simple,course-001,WooCommerce Starter Course,1,1,Course Workbook,https://example.com/course.pdf,Bonus Checklist,https://example.com/checklist.pdf

Make sure each file has both a name and a URL. A missing name or URL can prevent the file from being added correctly.

How to Import Digital Products from WooCommerce

Before we dive in, make sure you have a product CSV file ready.

  • Migrating from another WooCommerce site?
    You can easily export your digital products as a CSV file from your current WooCommerce store.
  • Switching from another eCommerce platform?
    Most platforms allow you to export your entire product catalog as a CSV file. You can then upload this file to your new WooCommerce store and get started with a fully stocked product list.

Once you have the CSV file, you’re ready to begin importing products into your WooCommerce store.

Note: For a flawless import, the CSV file needs to be UTF-8 encoded. Refer to this article on how to save a CSV file in UTF-8 encoded to know more.

Method 1: Import Digital Products Using WooCommerce

WooCommerce has a built-in product CSV importer, and both WordPress and WooCommerce provide full support for exporting and importing data in the CSV format. This implies that you may use a single CSV file to import, export, and update all of your products.

Let’s go over the procedure step by step.

Step 1: Navigate to WooCommerce Products Page

From your WordPress dashboard,

  • Go to Products > All Products.
  • Click on the Import button.
Screenshot showing selecting the import action

Step 2: Upload CSV File

To import your digital products into your WooCommerce store, upload your CSV file in this step.

Select whether you want to update existing products if necessary.

A screenshot displaying the import process of products from a CSV file.

Once you have selected a CSV file to upload, click Continue to proceed.

Step 3: Map CSV Fields to Products

Choose which fields in your CSV file to ignore and map to the fields in the CSV with those in your WooCommerce store.

A screenshot depicting the mapping of CSV fields to products.

If you are happy with the options, click Run the importer button.

This will then import the digital products into your WooCommerce Store.

A screenshot of the CSV file import process in Excel.

Method 2: Import Digital Products Using the WebToffee Plugin

WooCommerce’s built-in CSV importer works well for basic imports. But if you’re managing a large number of digital products, updating files frequently, or dealing with more complex setups, an advanced import/export plugin can make the process much easier.

WebToffee’s Product Import Export for WooCommerce plugin is built to handle exactly this. It makes importing and exporting digital products in WooCommerce quick and hassle-free. Follow the steps below to import your digital products using the plugin.

Step 1: Install WebToffee Product Import Export Plugin

From the WordPress dashboard,

  • Go to Plugins > Add New Plugin.
  • Enter the search term “WebToffee Product import plugin” in the search box.
  • Install and activate the plugin.
A screenshot of a product import and export plugin available in the WordPress plugin directory.

Step 2: Choose Product as Post Type to Import

Once the plugin is installed, navigate to:

  • WebToffee Import Export (Basic) > Import from the WordPress dashboard.
  • Select the post type as Product.
Screenshot representing the selection of a post type for import.
  • After the post type selection, click on Select import method button.

Step 3: Select Advanced Import Method

You can import products in two ways: Quick Import and Advanced Import. We will use the Advanced import option because it allows for filters and customization, making it simple to import just the products you want.

For detailed instructions on import methods, refer to the plugin user guide.

If you want to try out a sample CSV file, you can easily download one from the option next to the Choose File for Import button.

Next, just upload the CSV file from your computer to continue importing.

A screenshot depicting the selection of import methods.

Step 4: Map Product Import Columns

The import mapping feature lets you map the column headers in the CSV file to the WooCommerce product data fields. The mapping section is crucial if you import from a different eCommerce platform, such as Magento or Shopify.

Import mapping section of the plugin .

Once you have mapped the CSV file, you need to move on to the next and final step of importing the product.

Step 5: Import Products to WooCommerce

The plugin offers you some critical import options in this phase. It includes,

  • Skip import of new products.
  • Match product by their ID or SKU.
  • Update existing products in your store.
  • Import new products.
  • Set up the batch count for batch import.

You can now click the Import button to start the process. All the digital products in the CSV will begin to be imported and appear in your WooCommerce store.

Screenshot showing the importing products.
💡

Quick Tip: Save the import template to reuse it for future imports!

As instructed in the CSV, the sample digital product, a music file, is imported into WooCommerce.

Screenshot showing a music file imported into WooCommerce.

The free version of the plugin is perfect for managing basic product import and export tasks.

If you have more advanced requirements, the premium version of the WooCommerce Product Import Export plugin provides extra features designed for more intricate digital product management. This includes support for variable, subscription, and custom product types, making it great for digital offerings such as bundles or memberships.

How to Update Existing Digital Products Using CSV

You can also use a CSV file to modify digital products that already exist in WooCommerce.

For example, you may need to:

  • Replace an old downloadable file
  • Add a new bonus file
  • Change a file URL
  • Update the product price
  • Modify the download limit
  • Extend the download expiry period
  • Change descriptions or product images

Match Products Using their SKU or ID

Include the existing SKU or product ID in the CSV so the importer can identify the correct product.

For example:

SKU,Regular price,Download 1 name,Download 1 URL ebook-001,24.99,Updated Guide PDF,https://example.com/files/updated-guide.pdf

During the import, enable the option to update existing products.

Avoid removing or changing the SKU unless you understand how the importer matches products. When the SKU does not match an existing product, WooCommerce may treat the row as a new product.

Test Updates on a Small Batch

Before replacing file URLs across the entire catalog, test the update with one or two products.

Confirm that:

  • The correct product was updated
  • The previous file was replaced as intended
  • The new download link works
  • Unrelated product information was preserved

Frequently Asked Questions

Can I import digital products into WooCommerce using CSV?

Yes. WooCommerce includes a built-in CSV importer that can create digital products in bulk. Your CSV should include the product details, virtual and downloadable settings, downloadable file name, and file URL.

What CSV fields do I need for a downloadable WooCommerce product?

Common fields include SKU, Name, Type, Regular price, Virtual, Downloadable, Download name, Download URL, Download limit, and Download expiry days. You can also add descriptions, categories, tags, images, and stock information.

Should a downloadable product also be virtual?

Most downloadable-only products should also be virtual because they do not require shipping.
However, a physical product can include a downloadable file without being marked as virtual.

Can I import multiple downloadable files for one product?

Yes. Add separate numbered columns for each file, such as Download 1 name, Download 1 URL, Download 2 name, and Download 2 URL.

Can I update existing downloadable file URLs using CSV?

Yes. Include the existing product SKU or ID, add the new file URL, and enable the option to update existing products during the import.

Can I import license keys using a product CSV?

WooCommerce’s standard product fields do not provide complete license-key management. License keys are usually handled through custom fields or a licensing plugin.
You may need an importer that supports custom metadata and third-party plugin fields like the WooCommerce Product Import plugin.

How do I verify that imported digital products work correctly?

Open the imported product, check its downloadable settings, place a test order, and download the file as a customer. This confirms that the URL, permissions, limits, expiry settings, and order delivery process work correctly.

Wrapping Up

With the global digital product market proliferating, selling eBooks, software, and online courses has never been more accessible.

You can use WooCommerce’s built-in importer to bring in your digital products. Alternatively, you might consider the more advanced features offered by WebToffee’s Product Import Export Plugin for WooCommerce. The built-in tool is adequate for basic imports, but the WebToffee plugin provides additional flexibility, making it an excellent choice for scaling your store effectively.

Either way, these tools help you save time, reduce mistakes, and grow your digital product business effortlessly. Hope this post helped you and pointed you in the right way. If you have any questions or feedback, comment below, and we will get back to you at the earliest.

Article by

A bibliophile, movie buff, shutterbug, potter head who turned into a writer. Currently writing content for WebToffee.

Got any query? Please leave a comment or reach out to our support

Your email address will not be published. Required fields are marked *

Google Preferred Source

Your Go-to Plugin for WooCommerce Product Import Export