How To Create Downloadable Products in Magento 2

How To Create Downloadable Products in Magento 2

According to Magento docs,

A downloadable product is a variation of a simple product, with a little difference in product shipping. Products are not physible and it can be download from the store with price or without price.

There are six product types in Magento 2:

  1. Simple Product
  2. Configurable Product
  3. Grouped Product
  4. Virtual Product
  5. Bundle Product
  6. Downloadable Product

Among these, let’s discuss more downloadable products and the steps to create a Magento 2 downloadable products from the admin panel!

We have to upload files via the back-end to the server through the admin or FTP before allowing a downloadable product. No shipping options are offered as far as there is nothing to be shipped. It’s up to us to decide whether our customers will be able to choose the files to be included in the purchase.

Include its price (if any) and other additional information. There is a possibility of hosting the files on another web server. 

Mind that this type of product may consist of one or more downloadable files, so you have the option to require all of them to be purchased.

After the link is generated, the customer is capable of accessing all the downloadable files purchased from the account’s corresponding section. 

But in this scenario, we risk our file will be stored and shared with someone else.

An example of Magento 2 downloadable product is Magento extensions, applications, games, software, music files, E-books, etc.

Simply follow the below steps to create downloadable products in Magento 2.

Or, you can create downloadable products programmatically in Magento 2!

Steps to create Downloadable products in Magento 2:

  1. Login to admin panel
  2. Navigate to Catalog > Products
  3. Under the Add Product menu, select the Downloadable Product in the upper right corner.
    How To Create Downloadable Products in Magento 2 1
  4. Fill the below details after enabling the product:
    1. Attribute Set – Select the attribute set as default or create an attribute set.
    2. Product Name – Enter the product name
    3. SKU – Enter the SKU of the product. However, Magento takes the product name as the default SKU
    4. Price – Set the price of the product.
      How To Create Downloadable Products in Magento 2 2
    5. Advanced Pricing
      1. Special Price – Enter the discounted price
      2. Special Price From & To – Set the start and end date of the discount availability
      3. Cost – The actual cost of the product
      4. Tier Price – The discount price offered to customers based on the customer group and website. Here, select the quantity and price for every customer group.
        How To Create Downloadable Products in Magento 2 3
  5. Tax Class – Select None or Taxable Goods
  6. Quantity – Enter the quantity of the products that are currently in stock
  7. Stock Status – Set the stock status accordingly. Here, the default value is In Stock.
  8. Weight – Enter the weight of the product
  9. Categories – Assign categories to the product using Select box and choose the existing category or create a new one.
  10. Set Product As New From – Set the dates to feature the product as new
  11. Country of Manufacture – Select the country name from the drop-down
    How To Create Downloadable Products in Magento 2 4
  12. Content
    1. Description – Enter the main product description for displaying on the product page
    2. Short Description – Enter the short description, mainly for the RSS feed or product page, catalog page, etc.
  13. Images and Videos
    Add images and videos to display on the product page using the popup or drag-drop functionality.
    How To Create Downloadable Products in Magento 2 5
    Click on the image to fill up the details like Alt Text and Role:

    1. Alt Text – Enter the content to describe the image or to display in the case when the image is not loaded.
    2. Role
      1. Base – Main image for the product page
      2. Small – Image for listings on category and search results pages, and for sections such as for Up-sells, Cross-sells, and the New Products List.
      3. Thumbnail – Images for thumbnail gallery, shopping cart, blocks like related items.
      4. Swatch – Used to illustrate the color, pattern, or texture.
        How To Create Downloadable Products in Magento 2 6
  14. Search Engine Optimization
    1. URL Key – Enter the URL key for the online address of the product
    2. Meta Title – Enter the title for the display in search results. The default meta title is based on the product name.
    3. Meta Keywords -Add relevant keywords for more visibility in search results.
    4. Meta Description – Enter the description of the product for display in the search results.
      How To Create Downloadable Products in Magento 2 7
  15. Related Products, Up-Sells, and Cross-SellsUsed to promote other products in the store
    1. Related Products – Add products that are supposed to be purchased in addition to the item the customer is viewing.
    2. Up-Sells Products – Add products that are similar to the product that you are creating but probably higher quality
    3. Cross-Sells Products – Add products that are offered on the shopping cart page as last-minute purchases before the checkout process begins.
      How To Create Downloadable Products in Magento 2 8
  16. Customizable Options – Configure this option to offer customers a selection of options with a variety of text, selection, and date input types.
    How To Create Downloadable Products in Magento 2 9
  17. Products in Websites
    Select the option where the product is available as per the store hierarchy. By default, for a single website installation, the website checkbox is marked.
    How To Create Downloadable Products in Magento 2 10
  18. Design
    1. Layout – Choose a layout from the dropdown
    2. Display Product Options In – Select where the product options appear on the product page from the drop-down menu
    3. Layout Update XML – Enter XML code in case of customizing the theme.
      How To Create Downloadable Products in Magento 2 11
  19. Downloadable Information
    • It’s the main part of the Downloadable products and that consists of two parts.The first one is for a link that allows applying downloadable links in our product and the other one is for sample file where we can apply URL or upload it from the upload file option.After expanding Downloadable Information click on the checkbox which asks for is this downloadable product?
      How To Create Downloadable Products in Magento 2 12
      Let’s expand the first option -Links

        • Title: Give the title to your link that you want to use as a heading for the download links from the Title option.
        • Price: If you want to add price to your link then click on the checkbox Links can be purchased separately.
        • After clicking that checkbox, the price textbox will be enabled.
        • In the options section :
          • Give a suitable title and price if there is the option of price
          • Next, choose an appropriate option from file and Sample columned dropdown.
          • The first option of that dropdown is an Upload file in which we have to browse the file by clicking on Browse files… option.
          • Shareable: Set Shareable to one of the following:
            • No: That means, it Requires customers to log in to their accounts to access the download link.
            • Yes: Sends the link by email, which customers can share with others.
            • Use config: Uses the method that is specified in this product’s configuration.
              How To Create Downloadable Products in Magento 2 13
        • Max. Downloads: 
          • To limit downloads per customer, enter the number of Max. Downloads.
          • If you want to allow unlimited downloads, select the Unlimited checkbox.

      Finally, Click on Add link to add another link.

      • Samples:
        • Title: Enter the Title that you want to use as a heading for the samples in the Samples section.
        • Add Link: To add a link on the samples section, click on the Add link button.
        • The next step is to enter the Title of the individual sample.
        • And select the distribution methods
          • Upload File: To upload the distribution file to the server, Browse the file, and upload.
          • URL: To access the file from a URL, Enter the full URL to the download file.
            How To Create Downloadable Products in Magento 2 14

That’s all for Magento 2 Downloadable Product.

If you need to create a custom product type, visit here.

You can also refer to the video tutorial To Create Downloadable Products in Magento 2 from our Magento 2 video tutorial series:
How To Create Downloadable Products in Magento 2 15

You may use the Comments section below to mention any doubts on the topic.

Do share the tutorial with beginners in Magento 2 via social media.

Thank you.

Get Weekly Updates

Never miss Magento tips, tricks, tutorials, and news.

Thank you for subscribing.

Something went wrong.

(based on 6 Reviews)

Sanjay is a co-founder at Meetanshi. He is a Certified Magento Developer who loves creating Magento E-commerce solutions. Owing to his contributions in Magento Forums and posting solutions, he is among the top 50 contributors of the Magento community in 2019. When he is not engrossed with anything related to Magento, he loves to play cricket.

Leave a reply:

Your email address will not be published.