A downloadable product in Magento 2 is a digital item that customers can purchase and download, such as an e-book, song, video, or software. Sellers often provide samples, like a book excerpt, an audio clip, or a video trailer, to encourage customers to make a purchase.
You have the flexibility to upload these files either to your own server or another source, as long as the download process remains seamless for your customers.
Additionally, there are two methods for delivering downloadable products to buyers. The first requires them to log in to their account to access the download link, while the second option sends the link directly to their email.
Creating a downloadable product involves 5 key steps. In this guide, we’ll walk through creating a downloadable product, using a Magento 2 Guide as an example.
Step 1: Add Downloadable Product
In the Admin Panel, go to PRODUCTS, then select Catalog. From there, click Add Product and choose Downloadable Product.
(Admin Panel => PRODUCTS => Catalog => Add Product => Downloadable Product)
Step 2: Set Product Attribute
Select the Attribute Set for the product (optional) and choose Downloadable. After selecting this, additional fields related to the chosen Attribute Set will automatically appear.
Step 3: Fill in Required Info
Fill in the required fields, including Product Name, Price, Category, and Description. When you enter the product name, the SKU will be automatically generated to match the product name.
- Price: Set the product price. You can also choose Advanced Pricing to set prices for special promotions.
- Tax Class: Select tax class (None or Taxable Goods).
- Stock Status: Select the stock status of your product. The default option is In Stock.
- Quantity: Set the quantity for your product.
- Weight: Downloadable products are digital assets, so just leave it as “This item has no weight”.
- Category: Choose among available categories or create a new one.
Create New Category:
- Visibility: Set up how visitors can see your downloadable product. Set as Catalog, Search means people can see it in your catalog or they can search for it.
- Set Product as New From: Set the time that this product will be marked as “New” in front of customers.
- Description: Give customers additional information about your product and all the benefits it brings.
Step 4: Add Product Image
Add an image representing the product.
Step 5: Fill in Downloadable Info
Complete the Downloadable Information.
First, in the “Links” section, start by adding a title. If you want to offer the link for a separate purchase—meaning you provide different download links—check the appropriate box.
Next, click the “Add Link” button. You will then need to add the title, upload the file from your computer or provide a URL, and set the maximum number of downloads allowed.
In the “Shareable” section, selecting “Yes” means the download link(s) will be sent to the customer’s email, and they can share it with others freely. If you select “No,” customers will need to log in to their accounts to access the download link(s).
You can add as many links as you want just by clicking on the “Add Link” button.
Similarly, you can upload the sample link(s) for your product.
Finally, save the product you have created, refresh the cache and check how it presents on the front end.
And that’s it! If you have any problems when following these steps, please let us know by leaving a comment. See you in the next Magento tutorial.