Sell digital products with WooCommerce: setup, security, and checkout
Table of Contents
- Virtual vs downloadable products in WooCommerce
- Add a downloadable product step by step
- Choose a secure download method
- Protect your files from sharing
- Deliver large digital files from object storage
- Build a faster checkout for digital products
- Launch checklist for a digital product store
- Give digital buyers a checkout that closes the sale
To sell digital products with WooCommerce, create a product, enable Virtual (no shipping) and Downloadable (files to deliver), upload the file, and set download limits. Then choose a secure download method, move large files to object storage if your server struggles, and give buyers a short checkout.
Virtual vs downloadable products in WooCommerce
The two settings do different jobs, and a product can use either or both.
- Virtual removes the need for shipping. WooCommerce drops the shipping fields at checkout for carts with only virtual items. Memberships, consultations, and live events are typical virtual products.
- Downloadable lets you attach files that customers download after purchase: e-books, software, stock photos, printables, and templates.
An online course with PDF worksheets is both. A physical book with a bonus digital chapter is downloadable but not virtual. Rule of thumb: virtual controls shipping, downloadable controls file delivery.
Add a downloadable product step by step
- Go to Products » Add New Product and give the product a name and description.
- Under Product data, enable Virtual if nothing ships and Downloadable if you deliver files.
- Enter the price on the General tab.
- Click Add File and upload from your computer or paste a file URL.
- Set a Download limit (leave blank for unlimited) and a Download expiry in days (blank means the link never expires).
- Click Publish.



That covers a basic product. If every buyer needs a unique item, such as a personalized certificate, event ticket, or gift voucher, you need a plugin built for it. Options include WooCommerce PDF Vouchers and PDF Product Vouchers for WooCommerce. For recurring access, look at WooCommerce Subscriptions or Constellation, Kestrel’s memberships plugin. Check each product page for current pricing and features.
Choose a secure download method
Go to WooCommerce » Settings » Products » Downloadable products and pick how WooCommerce serves files.

| Method | Best for | Trade-off |
|---|---|---|
| Force downloads | Small files where you want the most protection | PHP serves the file and hides its real path; large files can time out |
| X-Accel-Redirect / X-Sendfile | Large files and faster delivery | Needs server configuration |
| Redirect only | Speed above everything | Exposes the file URL, so avoid it for premium content |
Protect your files from sharing
- Use approved download directories. WooCommerce only serves files from folders you whitelist, so a stray URL can’t pull arbitrary files.
- Set sensible limits. A download limit of 3 to 5 covers legitimate retries; an expiry of around 30 days balances security with convenience.
- Use HTTPS on checkout and download URLs.
- Name files cleanly.
my-ebook-v2.pdfworks everywhere; spaces and special characters can break downloads. - Test in a private window. If you can reach a file without buying, anyone can.
- Back up and harden the site with a security plugin such as Wordfence or Sucuri, and schedule backups.

Deliver large digital files from object storage
A WordPress server handing out 500 MB videos is slow and can hit PHP time limits. Moving files to object storage keeps downloads fast and your server free for orders. Amazon S3 is the standard choice, and Cloudflare R2 is an S3-compatible alternative. Kestrel’s Amazon S3 Storage for WooCommerce works with both: it connects WooCommerce products to your bucket and delivers files through time-limited signed URLs.
A few delivery habits help whichever storage you use:
- Pick a storage region close to most of your buyers.
- Put a CDN such as Cloudflare or Jetpack CDN in front.
- Compress before uploading: WebP for images, AAC for audio, H.265 for video.
- Split bundles over about 2 GB into smaller ZIPs.
- Check bandwidth usage regularly so a viral mention doesn’t surprise your hosting bill.
If you sell software, API Manager for WooCommerce turns a WooCommerce product into a licensed one, with license keys, activation limits, and automatic updates for plugins and themes.
Build a faster checkout for digital products
Selling a PDF is an impulse purchase, so every extra field costs sales. WooCommerce already hides shipping for virtual carts; the checkout itself decides whether buyers finish.
CheckoutWC replaces the WooCommerce checkout with a cleaner one. For digital stores, the useful parts are these:
- One page checkout shows everything on a single screen, which suits stores without a shipping step. Turn it on in CheckoutWC » Pages; see WooCommerce one page checkout and the one page checkout docs.
- Express checkout puts Apple Pay, Google Pay, and PayPal at the top when your gateway supports them, so buyers pay in a couple of taps. See the supported express gateways.
- Billing fields you don’t need can be hidden if all you need is a name and email; see how to disable billing address fields.
- Order bumps offer a related product, such as a template pack alongside an e-book, right in the checkout. Read how to create your first order bump.
- Cart recovery emails follow up with shoppers who entered an email and left. See abandoned cart recovery.
- The side cart lets buyers add items without a page reload.


Address autocomplete and inline validation also cut typos for stores that do collect an address.
Launch checklist for a digital product store
- Create your first downloadable product and test a purchase.
- Pick a download method and set approved directories, limits, and expiry.
- Move large files to object storage.
- Test your download links while logged out.
- Simplify the checkout so buyers can pay in as few steps as possible.
Give digital buyers a checkout that closes the sale
CheckoutWC covers one page checkout, express payments, order bumps, and cart recovery in one plugin. See CheckoutWC pricing for the plans: $249 a year, or $899 once, for a single site.
The simplicity of Shopify with the power of WooCommerce. Replace your WooCommerce checkout page with CheckoutWC to boost sales and reduce cart abandonment.