How to Sell Digital Products with WooCommerce

How to Sell Digital Products with WooCommerce

WooCommerce is not actually just for physical product stores. There is a special product type for digital products, such as ebooks, templates, source code, music, or any file sent via a download link rather than a courier.

The difference from regular physical products is that digital products do not require shipping costs and do not need to be included in the Shipping Zones we discussed in How to Restrict WooCommerce Sales to Certain Provinces with Shipping Zones. Buyers simply pay, and the file can be automatically downloaded from their account page.

TL;DR: To sell digital products in WooCommerce, create a new product, and in the Product data section, select Virtual and Downloadable, then upload the file in the Downloadable filesfield. Set the Download limit and Download expiry as needed, set the price, publish, and ensure your payment gateway supports the Completed status automatically so the download link becomes active immediately after payment is received.

How to Sell Digital Products with WooCommerce

Ensure WooCommerce is active and you are logged into WP Admin, then follow these steps.

1. Add a New Product

Go to Products > Add new product. Enter the Product name and product description as usual, for example, the name of the ebook or template you are selling.

Cara Menjual Produk Digital dengan WooCommerce - WPgan.com - 1

2. Enable Virtual and Downloadable

Scroll to the Product datasection, and in the dropdown, select Simple product. There are two checkboxes you need to understand the difference between, as they can be used individually or together, depending on the product you are selling.

  • Virtual: indicates this product does not require physical shipping. If checked, the Shipping option automatically disappears from the Product data tab, and the order has the potential to automatically reach Completed status. However, this checkbox does not automatically provide anything to the buyer. There is no file or additional instruction. This is suitable for products where shipping is outside the WooCommerce system, such as consulting services, bookings, or services that you follow up on manually via WhatsApp or email after the order is received.
  • Downloadable: enables the digital file upload feature that the buyer can automatically download after checkout from their account page and confirmation email. This is suitable for products that are files, such as ebooks, templates, or source code.
Cara Menjual Produk Digital dengan WooCommerce - WPgan.com - 2

For this tutorial, because we are selling a product that is a file, check both, Virtual and Downloadable. Virtual removes the shipping option, and Downloadable provides file access to the buyer.

3. Set Product Price

On the General tab under Product data, enter the Regular price (Rp) (ex. tax), and Sale price (Rp) (ex. tax) if you want to offer the product at a discount. For digital products, the price is entered just like a regular physical product.

Cara Menjual Produk Digital dengan WooCommerce - WPgan.com - 3

4. Upload Digital File

Now in the Downloadable filessection. Click Add File, and fill in:

  • Name: the file name that will appear to the buyer, for example Ebook - Panduan WordPress.pdf.
  • File: click Choose file, upload from your computer, or select from the Media Library.
Cara Menjual Produk Digital dengan WooCommerce - WPgan.com - 4

You can add more than one file to the same product, for example, a main file plus a bonus.

5. Set Download Limit and Expiry

Still in the same section, set:

  • Download limit: the maximum number of times a buyer can download the same file. Leave blank for unlimited downloads.
  • Download expiry: the number of days the download link is active after purchase. Leave blank if you want the link to be valid forever.
Cara Menjual Produk Digital dengan WooCommerce - WPgan.com - 5

These two settings are important if you do not want your files to be shared freely via the same link repeatedly.

6. Publish and Check Product Display

Click Publish. Open the product page from the buyer's side to ensure the price, description, and Add to cart button appear normally, without any shipping address fields.

Cara Menjual Produk Digital dengan WooCommerce - WPgan.com - 6

7. Test Purchase and Download Process

Perform a purchase simulation from the front-end:

  • Add the product to the cart, and proceed through checkout until payment is complete.
  • Check the My account > Downloadspage, and ensure the file link appears there.
  • Also check the order confirmation email, as the download link is usually included automatically.
Cara Menjual Produk Digital dengan WooCommerce - WPgan.com - 7

If your payment gateway requires manual processing (for example, bank transfer without automatic verification), the order status will be held at On hold and the buyer cannot download until you manually change the status to Completed.

That is how easy it is to sell digital products with WooCommerce. You can even sell physical and digital products on the same website without having to create a separate online store.

Additional Notes

  • Virtual only (without Downloadable) does not automatically send anything to the buyer. If your product is a service, booking, or service that requires manual follow-up (such as consulting, design services, or venue rental), simply check Virtual, then add follow-up instructions in the Short description of the product, for example, "Our team will contact you within 1x24 hours after payment." If the product is indeed a file that must be downloaded, you must also check Downloadable as we did in this tutorial.
  • For large files, consider using a cloud storage link instead of uploading directly. WordPress has a maximum upload size limit set by your hosting. If your file is large (for example, a video course), it is safer to use a link from Google Drive or other storage, then redirect via the Downloadable files feature.
  • The automatic Completed order status only applies if all products in the order are Virtual. If an order contains a mix of physical and digital products, WooCommerce will still consider it to require shipping, so the status will not automatically be Completed.
  • WooCommerce download links are protected and cannot be accessed randomly without the account that made the purchase. However, it is still recommended to enable the Download limit so that files are not shared repeatedly from a single purchase.

FAQ

Do I still need to set up Shipping Zones for digital products?

No need. If the product is marked as Virtual, the shipping option automatically disappears and does not affect shipping calculations at checkout.

Can buyers download again if the download limit has been reached?

By default, they cannot via their account page. You need to reset it manually from the Orderspage, open the relevant order, and increase the number of remaining downloads for that item.

Can I sell digital and physical products in the same store?

Yes. WooCommerce supports a mix of product types in one store, even in the same order. The only thing to pay attention to is the automatic order status as explained in the Additional Notes above.

Written by

Muhammad Khoirun Nasikin

I enjoy tinkering with WordPress, hosting, VPS, web development, and various small experiments related to websites. I have over 3 years of experience in the web hosting industry.

COMMENTS

Loading...