---
title: "Downloadable product"
description: "Sell PDFs, images, audio, video, software and e-books: set download limits and expiry and create a downloadable product step by step."
url: "https://docs.j2commerce.com/product-types/downloadable-product"
markdown_url: "https://docs.j2commerce.com/product-types/downloadable-product.md"
last_updated: "2026-10-23T03:36:49+00:00"
version: "J2Store 4"
breadcrumbs:
  - title: "Home"
    url: "https://docs.j2commerce.com/"
  - title: "Product Types"
    url: "https://docs.j2commerce.com/product-types"
  - title: "Downloadable product"
    url: "https://docs.j2commerce.com/product-types/downloadable-product"
---

# Downloadable product

## Introduction

[The product type allows you to sell digital products like PDF, images, audio, video, software, e-books etc. The customer will be able to download the file immediately after making the payment.](https://docs.j2commerce.com/product-types/downloadable-product#introduction)

## [Product Settings](https://docs.j2commerce.com/product-types/downloadable-product#introduction)

[The settings in this type are almost identical to simple product, except for a very few. Since this is downloadable, obviously, it has no shipping option. Likewise, there is no options page also, to choose a color or size, because it has no physical existence. But there is a unique option **Files** for this product type. Have a look over that option.](https://docs.j2commerce.com/product-types/downloadable-product#product-settings)

### [Files](https://docs.j2commerce.com/product-types/downloadable-product#product-settings)

[![Files](https://docs.j2commerce.com/images/docs/shared/download-files.webp) **Step 6:** When you click on 'Set Product Files' from the photo above, the window below will pop up. This is where you will attach your downloadable file and name it. After selecting Create, the download files will appear below them. ![Downloadable product Files dialog: Add Files with Display Name, Choose File and Create button highlighted, and an empty Files list](https://docs.j2commerce.com/images/docs/shared/download-files1.webp) Select the file and click the create button, and you will get the product listed below as shown in the picture. You can add as many files as you can to the folder. When a customer purchases the product, all the files associated with the product will be available for download. **VERY IMPORTANT:** In configuration > basic settings, the File attachment path field should point to an existing directory inside your website root. If you specify a directory outside the public root, then you should enter the full file path manually. \*\* A file has to be associated with a downloadable product. If not, no downloadable link would appear in the My downloads section of the user’s My profile page even if the user has bought the product and paid.\*\*](https://docs.j2commerce.com/product-types/downloadable-product#files)

### [Download limit](https://docs.j2commerce.com/product-types/downloadable-product#files)

[This determines the maximum number of copies allowed to be downloaded by a single customer. Enter a numeric value to set the limit. \*\*VERY IMPORTANT NOTE: This parameter must have a value. If no value is inserted in this field, the downloadable product wouldn’t appear in the My downloads section even if the user has paid successfully for the order.](https://docs.j2commerce.com/product-types/downloadable-product#download-limit)

### [Download Expires (in days)](https://docs.j2commerce.com/product-types/downloadable-product#download-limit)

[This will set a deadline for the product link to be active to download the product. If the deadline is set to be 15 days, for instance, the link goes inactive on the start of the 16th day. All other options are the same as a simple product. \*\*VERY IMPORTANT NOTE: This parameter must have a value. If no value is inserted in this field, the downloadable product wouldn’t appear at the My downloads section even if the user has paid successfully for the order. \*\*](https://docs.j2commerce.com/product-types/downloadable-product#download-expiresin-days)

## [A Step-by-step example to create a downloadable product](https://docs.j2commerce.com/product-types/downloadable-product#download-expiresin-days)

[**J2Commerce** implements an innovative concept in creating products. It uses the Joomla articles as products. So, to create a product is to create an article. So, let's create an article.](https://docs.j2commerce.com/product-types/downloadable-product#a-step-by-step-example-to-create-a-downloadable-product)

### [Creating an Article](https://docs.j2commerce.com/product-types/downloadable-product#a-step-by-step-example-to-create-a-downloadable-product)

[Have a look at the image below: Start by creating a 'New' Article. Go to Content > Article > New. ![Article manager](https://docs.j2commerce.com/images/docs/shared/download0.webp) A downloadable product is one that has no physical existence. It can be downloaded as per the terms and conditions of the seller. It can be a book, a video, a music album or even a software extension like Joomla! extension. To create a downloadable product, follow the steps: Enter the name for your product. Since you are creating an article, you need to tell that the article should be treated as a product. So, select ‘Yes’. Select the type of product, i.e., ‘Downloadable’. Now, click the ‘Save and Continue’ button. ![Choosing product type](https://docs.j2commerce.com/images/docs/shared/downloadable2.webp) Add a description for the product, as illustrated below. ![Adding content](https://docs.j2commerce.com/images/docs/shared/downloadable-content.webp) How to set the parameters:](https://docs.j2commerce.com/product-types/downloadable-product#creating-an-article)

### [General](https://docs.j2commerce.com/product-types/downloadable-product#creating-an-article)

[Enter the details as required by the fields in the tab, like SKU, UPC/EAN, brand, vendor, tax profile and the caption for the cart button. Once you enter them, you can navigate to the next tab, pricing. ![General tab](https://docs.j2commerce.com/images/docs/shared/download-general.webp)](https://docs.j2commerce.com/product-types/downloadable-product#general)

### [Pricing](https://docs.j2commerce.com/product-types/downloadable-product#general)

[In Pricing, you can set the price for your product. You have the option to set up advanced prices, like discount offers, as shown in the following images. ![Pricing](https://docs.j2commerce.com/images/docs/shared/download-pricing.webp) In the above image you set up the regular price for the E-Book. Click the set prices button to set advanced/special prices. It will pop-up a window to set the special prices, like this. ![Advanced pricing](https://docs.j2commerce.com/images/docs/v4/doc-images/catalog/downloadable-product/down-pro-adv-pricing.png) In the above image, you can set a date range for the special price; otherwise, you can leave it empty for the special price to be applied always. For example, if a customer buys 2 or more copies of the E-Book, you can offer a discount on price throughout the year. Now, you have entered the values, and click the blue ‘Create’ button and you will get the special price listed below, as shown in the image. ![Success message for advanced pricing](https://docs.j2commerce.com/images/docs/v4/doc-images/catalog/downloadable-product/down-pro-adv-price-success.png)](https://docs.j2commerce.com/product-types/downloadable-product#pricing)

### [Images](https://docs.j2commerce.com/product-types/downloadable-product#pricing)

[When you select the images tab, you will get a screen like this. ![Images](https://docs.j2commerce.com/images/docs/shared/download-images.webp) Click on the Select an image button. You will get a pop-up window, where you can select a suitable image for your ebook, as shown below: ![Image select](https://docs.j2commerce.com/images/docs/v4/doc-images/catalog/downloadable-product/down-pro-image-select.png)](https://docs.j2commerce.com/product-types/downloadable-product#images)

### [Files](https://docs.j2commerce.com/product-types/downloadable-product#images)

[Unlike other products, you do not have options and shipping tabs for a downloadable product. But there is a unique tab, **Files** is present here. You must have a separate folder or directory on your site to place the downloadable products. From that folder, the product will be downloaded when the buyer fulfills the requirements for the download. The following steps will guide you to set up a folder with a downloadable product. **Step 1:** Create a folder on your site to upload the files You can use your Hosting Provider’s CPanel File Manager or an FTP client like FileZilla to access your web root (public_html / www / httpdocs ). Once you are in the web root, you can create a folder. Name it as: myfiles. **Step 2:** Protect the folder from outside access We do not want people to access this folder using their browser and download files. So let us protect this folder using a **.htaccess** file. Create a file called htaccess.txt on your computer and open it with your favorite text editor. Add the following lines to it. order deny, allow deny from all Save the file. Now upload it to the folder we just created in our web root. In our example, it is myfiles. **IMPORTANT**: Rename the file to *.htaccess* All the files uploaded to this folder are now protected. **Step 3:** Point J2Commerce to use the files in this folder. Go to Joomla admin > j2Commerce Dashboard > Set up > Configuration > Basic settings ![J2Commerce Dashboard with Components > J2Commerce, and the Setup menu open with Configuration highlighted](https://docs.j2commerce.com/images/docs/shared/downloadable-configuration1.webp) In the File attachment path field, enter the name of the folder that contains your files. In our example, it is: **myfiles**. Check the image below: ![File path specification in configuration](https://docs.j2commerce.com/images/docs/shared/downloadable-configuration.webp) Finally, save the configuration. You have created a folder to upload your digital products like ebook, pdf files, image files etc., set up a protection mechanism from unauthorized access and configured the folder in your configuration page. **If you don't already have a My Profile menu type, then follow the steps below. Otherwise, skip to the next step.** Let us create a Downloads Area for the customers Go to Joomla admin > Menus > Main Menu Click New to create a new menu ![Joomla Menus: Items (Main Menu) list with Menus, Main Menu in the sidebar and the New button highlighted](https://docs.j2commerce.com/images/docs/shared/downloadable-my-profile-1.webp) Enter a Name Click Select in the Menu Item Type ![Joomla Menus: New Item form with the Title field empty and the Menu Item Type Select button highlighted](https://docs.j2commerce.com/images/docs/shared/downloadable-my-profile-2.webp) Choose J2Commerce > My Profile Check the image below. ![My profile menu](https://docs.j2commerce.com/images/docs/shared/downloadable-my-profile-4.webp) Click Save ![Menus: New Item form with Title My Account and Menu Item Type My Profile selected, linking to the J2Store my profile view in Main Menu](https://docs.j2commerce.com/images/docs/shared/downloadable-my-profile-5.webp) You just have to tell the customers to visit 'My Account' on the frontend of your website to get their files after their purchase. ![Storefront My Profile page with Orders tab listing one Unpaid order, and the My Account link in the Main Menu highlighted](https://docs.j2commerce.com/images/docs/shared/my-account.webp) When the customer purchases the downloadable product and finishes the checkout process, the order is completed, and the status becomes ‘Confirmed’. If My Profile is clicked, the orders will be listed as shown below: ![Frontend my profile](https://docs.j2commerce.com/images/docs/shared/download-orders.webp) And when ‘Downloads’ tab is clicked, it will show the download link like this: ![Download link](https://docs.j2commerce.com/images/docs/shared/dowload-menu.webp)](https://docs.j2commerce.com/product-types/downloadable-product#files-1)

### [Filters](https://docs.j2commerce.com/product-types/downloadable-product#files-1)

[The filters will help to narrow the product search for specific products. For e.g., if you add a filter with the value ‘Books’, the search will display only music files. See the image below: ![Files](https://docs.j2commerce.com/images/docs/shared/downloadable-filters.webp) If the filters you want don't show up, then it's because they haven't been previously created. Go to J2Commerce > Catalog > Filter ![J2Commerce Dashboard with Components > J2Commerce, Catalog menu open and Filters / Specifications entry highlighted](https://docs.j2commerce.com/images/docs/shared/filters.webp)](https://docs.j2commerce.com/product-types/downloadable-product#filters)

### [Relations](https://docs.j2commerce.com/product-types/downloadable-product#filters)

[The next tab is Relations. Here, you can add products of higher value than the one being viewed by the customer and recommend the customer to buy that product, citing its advantages and additional features. This is an upsell. Refer the image below: ![Relations](https://docs.j2commerce.com/images/docs/shared/downloadable-relations.jpg) Also, you can add some other products to convince the customer to buy theses products additionally. This is cross sell. For more detailed explanation, refer to the **Relations** section of the **Downloadable Product**.](https://docs.j2commerce.com/product-types/downloadable-product#relations)

### [Apps](https://docs.j2commerce.com/product-types/downloadable-product#relations)

[In this tab, you can add third party tools or plugins, that are available, to enhance the J2Commerce functionality, like adding additional fields, applications, functions or features. ![Apps](https://docs.j2commerce.com/images/docs/shared/downloadable-apps.webp) Now, lets have a look on how your product is viewed in your online store. Check the image below: ![Frontend](https://docs.j2commerce.com/images/docs/v4/doc-images/catalog/downloadable-product/down_product_on_cart.png)](https://docs.j2commerce.com/product-types/downloadable-product#apps)

## [How to sell files that are stored externally?](https://docs.j2commerce.com/product-types/downloadable-product#apps)

[If you have files stored externally, like on your Dropbox account or on your Amazon S3 bucket, then you could sell them on your store using the following extensions, respectively:](https://docs.j2commerce.com/product-types/downloadable-product#how-to-sell-files-that-are-stored-externally)

## [How to reset the download limit for a single user:](https://docs.j2commerce.com/product-types/downloadable-product#how-to-sell-files-that-are-stored-externally)

[Let us assume that you have provided download limit for a product as 1 and the user has downloaded the file. Now, he wants to download the product again. Here is how you could reset the download limit for that user alone:](https://docs.j2commerce.com/product-types/downloadable-product#how-to-reset-the-download-limit-for-a-single-user)

## [To reset the download limit for a single user:](https://docs.j2commerce.com/product-types/downloadable-product#how-to-reset-the-download-limit-for-a-single-user)

[Please navigate to J2Commerce > Sales > Orders > Order of the downloadable product. ![J2Commerce: Orders list with Components > J2Commerce and Sales > Orders highlighted, showing an order row with status Unpaid](https://docs.j2commerce.com/images/docs/shared/downloadable-sales.webp) Click on the checkboxes mentioned in the screenshot below and click save. ![Granting permission from backend](https://docs.j2commerce.com/images/docs/v4/doc-images/catalog/downloadable-product/download-grant-perm.png) This would reset the download limit and expiry date only for that particular user. He would be able to log in to his My Profile or (My Account) tab and download the number of times you have allowed on the product.](https://docs.j2commerce.com/product-types/downloadable-product#to-reset-the-download-limit-for-a-single-user)

## [My downloads section doesn’t have a download link](https://docs.j2commerce.com/product-types/downloadable-product#to-reset-the-download-limit-for-a-single-user)

[The downloadable file link would be listed at the My downloads tab of the user’s My profile page only when: **The order is in confirmed status** The user should have paid for the order successfully and the order should be in confirmed status. Only then the file would be listed in the my downloads section of the user. **There should be a download limit, download expiry and file set up** In the product article, the following parameters shouldn’t be left empty: **Download limit** **Download expiry (in days)** **File** **The Folder path for digital goods should not have a slash in the path** Under J2Commerce > setup > configuration > basic settings tab, the path you set should not start with a slash. Example: the path should be set as: media/myfiles and **not** /media/myfiles. ![J2Commerce Configuration, Basic Settings tab highlighted, with Folder path for digital goods set to media/myfiles highlighted](https://docs.j2commerce.com/images/docs/shared/downloadable-configuration2.webp)](https://docs.j2commerce.com/product-types/downloadable-product#my-downloads-section-doesnt-have-a-download-link)

## [Video Tutorial](https://docs.j2commerce.com/product-types/downloadable-product#my-downloads-section-doesnt-have-a-download-link)

[Here is a video that could help you create a digital product:](https://docs.j2commerce.com/product-types/downloadable-product#video-tutorial)

[![Watch the video](https://img.youtube.com/vi/LTICud99W-4/hqdefault.jpg)](https://www.youtube.com/watch?v=LTICud99W-4)
