A downloadable WooCommerce product lets you sell a PDF guide, a template, music, a course, or any other digital file. But checking a box isn’t enough. You also need to choose the right delivery method, protect the file, set access after payment, and test the emails.
Clear configuration prevents two common problems: a customer who pays but doesn’t receive their file, and a public link anyone can share. Here’s a complete method you can do from your store’s admin.
Create the digital product and add the file
In WooCommerce, create a new simple product or open an existing product. In the product data panel, check Downloadable. WooCommerce will then show the fields for files, download limit, and expiry.
Add each file in the designated section. Give it a customer-friendly name, like «Getting Started PDF» or «Invoice Templates.» That name appears in their downloads area and in order-related communications.
For a product that requires no shipping, also check Virtual. This prevents WooCommerce from calculating shipping for that purchase. When an order contains only products that are both virtual and downloadable, WooCommerce will normally move it directly to the completed status. The official documentation on virtual and downloadable products also explains the role of download limits and expiry.
Choose the right limits
The download limit sets how many times a customer can retrieve the file(s). Leave this field empty if you want to offer unlimited downloads. A moderate limit often suits a document or compressed file a customer might need to redownload.
Expiry sets how many days the link remains usable after purchase. Leave this field empty if access should not expire. Before setting a short duration, consider customers who buy for later or download from a mobile device.
Then add a description that clearly states the format, file contents, required software, and usage conditions. The customer should know what they’re getting before paying. Also avoid promising permanent access if an expiry is configured.
Protect the file and choose the download method
The product must be downloadable, but its file shouldn’t be easily accessible via a public URL. In WooCommerce, open Settings > Products > Downloadable products. There you choose how the store delivers files to buyers.
WooCommerce offers, among others, the methods Forced downloads, X-Accel-Redirect/X-Sendfile and Redirect only. The first two aim to protect the file from external access. Redirection instead gives the browser the file’s address, which can make sharing possible.
The WooCommerce documentation on managing digital products therefore generally recommends protected methods. However, check your hosting compatibility before choosing X-Accel-Redirect or X-Sendfile. This method depends on a server module being available and enabled.
Upload to the right place
To better protect a WooCommerce downloadable product, upload the file from the product screen. Avoid selecting a document already in the media library. A file placed in the media library may remain accessible to anyone who knows its direct URL.
Also keep the option that adds a unique string to the filename, unless you have a specific technical reason to disable it. This option makes it harder to guess a download URL.
If multiple people create products in your store, review the approved directories. WooCommerce lets administrators limit allowed locations for digital files. This reduces the risk that a manager adds a link from an uncontrolled storage space.
Set access rights after payment
When the customer receives their file depends on the order status and your settings. In the downloadable products settings, the option granting access after payment allows access as soon as the order reaches the processing status.
This option is especially helpful when you also sell physical products. The customer can retrieve the digital file without waiting for shipping. Without this option, WooCommerce generally waits until the order is completed before granting the download.
You can also require login before download. This makes it easier to track purchases in the «My account» area. In return, you must disable guest checkout, since the customer needs an account to log in.
To understand how each status affects your orders, also see WooCommerce order statuses and the right time to change them. A wrong status can delay access to the file even if payment has been accepted.
Manage an access request manually
From an order, WooCommerce lets you view the permissions associated with files. You can revoke access, grant new access, or check the number of downloads used. This feature is useful when a customer changes their email address or has a legitimate issue.
Be careful with content updates. Modifying a file already associated with a product updates the link for past purchases. Adding a new file, however, does not automatically give past buyers access to that new file. Decide in advance whether your product will include future updates.
Check the email and customer journey
After payment, the customer must be able to find their file without searching. Depending on your settings, WooCommerce displays the link on the confirmation page, in the order email, and in the «Downloads» section of the customer account.
In WooCommerce > Settings > Emails, check the notifications related to orders. Processing and completed order emails do not serve the same purpose. The official documentation for WooCommerce email settings describes the messages sent for each status.
Complete this step with your own check of notifications. You can follow the method suggested in checking WooCommerce order emails to confirm recipients, templates, and actual receipt of messages.
Test before publishing the product
Create a test order with a separate customer account. Purchase the product, then verify the payment, status, confirmation page, email, and download link. Download the file from a private browser window to confirm that the restrictions work as intended.
Also test your limits. If you set a maximum number, make sure WooCommerce blocks an extra attempt. If you chose an expiration, validate that the displayed duration matches your sales policy.
Finally, run one accepted payment test and one declined payment test before launch. Test your WooCommerce payment gateway before opening it helps you verify the full flow so you don’t discover a problem after the first sales.
Pre-sale checklist
- The product is marked as downloadable and, if needed, as virtual.
- Each file has a clear name for the customer.
- Limits and expiration dates match your offer.
- The file was added from the product screen rather than from the media library.
- The download method protects the file according to your hosting capabilities.
- Access is granted at the correct time after payment.
- Order emails contain the expected information.
- A test order confirms the customer can retrieve their purchase.
With these checks, you deliver your digital content clearly and in a controlled way, while reducing support requests after purchase.









