How to Add Downloadable Files in Magento 2
Give your Magento customers all the necessary information to make a purchase with Product File Attachments
With the ever-increasing number of ecommerce sites and tough competition between e-merchants, online stores have to put much effort into turning potential clients into existing ones to eventually make them become regular customers.
Product File Attachments for Magento 2 is an effective way of grabbing customers’ attention on product pages. This extension provides a functionality that default Magento lacks. With this module, your Magento-driven store will provide shoppers with all the information they need to place an order, thus giving you a competitive advantage.
Product File Attachments allows store admins to add links to external sites (e.g., to a YouTube video) and upload manuals, tutorials, and other materials of any format.
Keep on reading to learn how this module works.
Creating a new widget
The first step toward making your product pages irresistibly informative is to create a new widget to be placed on these pages. Go to Content > Elements – Widgets and hit the ‘Add Widget’ button.
On the widget creation page, select ‘Aitoc Product File Attachments’ on the ‘Type’ dropdown menu. Then choose your current theme in click ‘Continue’.
Add a custom widget title. You will need it for internal reference only. The next thing you need to do is assign the new widget to as many Store Views as you need.
In the ‘Layout Updates’ section, you can configure the widget’s position on product pages. Note: this widget can be added only to product pages, otherwise it won’t be displayed. If the widget is enabled for all the product types, you won’t be able to manage its position per product type/product.
When complete, proceed to the ‘Widget Options’ section to add a custom title that will be shown on the storefront. Now you can save the widget to activate it.
Configuring General Settings
To access General Settings of the module, navigate to Stores > Settings > Configuration > AITOC EXTENSIONS – Product File Attachments.
Here you can configure the visibility of file attachments per customer groups. And that’s not all! You may even disable them for those customers who haven’t ordered the product yet.
The module has a built-in library of icons you can use. You can also always add new ones or replace existing icons.
Go to Catalog > Product File Attachments > Icons to access the available icon set. To add a new icon, hit the ‘Add New Icon’ button. When adding a new asset, make sure to specify a file extension to associate with it (e.g., txt).
Assigning File Attachments to Products
Open the product in the edit mode and scroll down to ‘Product File Attachments by Aitoc’ to add attachments and/or external links to its page. You need to introduce custom labels to each attachment and link as these attachment-specific labels to be displayed on the storefront. You can manage the attachments’ visibility, delete them and even hide those attachments you temporary don’t want to use. Leverage per Store View configuration if your store is available in different languages.
From the same page, you can also track product-specific file downloads and link clickthroughs. Save the changes and the attachments will appear on the product page.
Tracking User Engagement
The extension also provides admin users with detailed lifetime statistics of file downloads and link clickthroughs for all the product pages. To see it, go to Reports > Products – Attachments
You can export the report to a CSV or Excel XML file.
Product File Attachments can improve your Magento store by allowing you to add different materials to product pages: guides, tutorials, presentations, videos, and many others. Having this content in place, you’ll make it easier for customers to decide on a purchase and so increase the chances of them placing an order. Need more help with your Magento store? Drop us a line at email@example.com.