User Tools

Site Tools



For more details see the Product Attachments extension page.

Product Attachments for Magento 2

Provide customers with additional details about the products they purchase in your store. The extension allows you to add manuals, licenses, warranties and other downloadable information right on product pages. Equip your attachments of any format with catchy icons to attract customers' attention.

  • Upload the unlimited number of attachments
  • Support for any file types
  • Track attachments downloads
  • Equip files with catchy icons

General Settings

To configure general extension settings please go to Stores → Configuration → Amasty Extensions → Product Attachments.

See your store performance in details with the Magento 2 reports.

Enable Module - enable or disable the extension by clicking 'Yes' or 'No'.

Add Category Files to Products - attach any category files to product and display them via widget.

Display `Include In Order` Files on Product Pages and Widgets - enable this option if you want to show files regarding ordered products on product pages and widgets.

Show `Product Attachments` Tab - enable display of a new tab with product attachments in the description block on a Product Page.

Tab Title - specify the name for the tab with product attachments.

Choose Customer Groups to show the Tab - specify customer groups for which the attachments will be visible.

Show File Icon - make attachments more noticeable by showing file icons or turn off this option if needed.

Show File Size - enable this option to let your customers know about the size of the attachment.

Place Tab near - choose the place near which the tab with product attachments will be displayed in the description block: Details, More Information, Reviews tabs or other.

Position - specify the position for the product attachments: before or after the chosen tab.

Show Attachments - enable this option if you want to show attachments for ordered products.

Title for Attachments Block - specify the title for attachments block on the Order View Page.

Type of Attachments to Display - show all product attachments or include them to the order only.

Add Attachments to Transactional Emails - include files to transactional emails to provide customers with the maximally detailed product description.

Type of Attachments to Add - add all the attachments or ‘Include in Order’ only to your transactional emails.

Autodetect File Mime Type on Download - set the option to 'Yes' to let customers open attachments in a new browser window instead of downloading them.

Adding Files to the Product

To add new files for a specific product please go to Catalog → Products and open the necessary product. Then expand the Product Attachments tab.

You can specify custom name for this tab by modifying the Tab Title option on the General Settings page.

This handy grid allows you to manage all existing attachments easily:

Icon - define a needed attachment by catchy icons to add to the product.

File Name - specify a relevant file name for your internal use.

Extension - track the attachments easily according to file extensions.

Label - fill in the label that will be displayed on the frontend as the name of the attachment.

Customer Group - specify a customer group for which the attachment will be visible on the frontend.

Include In Order - enable this option if you want to display the product attachment in the tab 'My Orders' on the frontend.

Visible - modify this option to hide or display the attachment regarding the product.

If you show two or more attachments on a product page, you can specify the order for displaying files.

You can make the following actions right from the admin panel:

Click the Add Existing Attachments button to add files that are already loaded. Click the Add New Files button to add a new attachment for the related product. Click the Add New Links button to provide your product page with a necessary link.

Attachments Management

To see all the attachments please go to Catalog → Attachments Management.

This handy grid helps you track all existing files by ID, icon, attachment type, file name, file label, mime type, and file size.

You can add new files to the existing list right from the grid by clicking the Add New Attachment button.

Specify the Attachment Type and fill in the Attachment Name, Label and then choose a Customer group to which display the file. Then press the Upload button to select a necessary file.

In one click you can regulate the file visibility and include it in order.

Also you can attach a new file to any category and product you need. Just select necessary categories and add products to attach a new file to them.

Then press the Save Attachment button to finish the new attachment adding.

Adding an Icon

Make attachments more noticeable for customers with catchy icons. To create a new attachment icon or edit already existing ones go to Catalog → Icon Management.

This handy grid allows you to track all existing files by thumbnail, icon type and extension. You can easily check the icon status in the same place.

The module let you add a new icon right from the admin panel by pressing the Add New Icon button.

Upload the icon you need, specify the file type for which the icon will be used. You can enable the icon displaying in one click. Then add the file extension by pressing the Add Extension button.

Hit the Save Icon button to finish the new icon adding.

Adding Files to the Product Category

To attach files to any product category, please, go to Catalog → Categories and select any product category to which you want to add files.

Then, expand the Product Attachments tab. You can add existing or new files or even add new links to the chosen product category. Then press the Save button to attach added files to the certain product category.

Download Reports

Due to the advanced Magento 2 file attachment manager tool you can view and analyze detailed reports on file downloads. Here you can see statistics on what attachments were downloaded, when this happened and who downloaded the file.

To see reports on file downloads please go to Reports → Downloads.

In case you want to refresh the reports download history, click the Clear File Downloads button.

Show Attachments on the Product Page

You can place attachments in the product description block via widgets.

Add Attachments to Orders

Customers can find all attachments regarding completed orders in their accounts. When they view a necessary order in the tab ‘My Orders’, they find corresponded files. All this prevents from losing important documentation regarding the purchased product and its usage.

The extension allows you to place attachments in absolutely any location on product, category and CMS pages via widgets.

Attachments mass-import

With the extension you can import attachments in bulk and assign them to products via CSV-file import.

Go to Catalog, choose Mass File Import in Product Attachments tab.

All incomplete imports are saved and displayed in the grid. To complete any of them, press the Continue button. To start a new import process, click New Import.

Step 1. Prepare files for import

In this tab upload all the attachments you want to import via Add New File button.

You can also upload your files in pub/media/amasty/amfile/import/ftp folder.

You can change files' names and labels if needed, assign them to the necessary customer groups, include in order and make them visible/invisible right in the grid.

Click Next.

Step 2. Select Stores For Configuration

Here specify store views to which you want to import files.

Press Next.

Step 3. Import Your Files

In this tab CSV-file is generated.

Press Generate import file to download an import sample file.

In the sample you can edit any data presented in Step 1.

In our case we've selected 2 store views.For example, we have English store view (store_id - 1) and French (store_id - 2). So we can name the same file differently and assign to different categories, customer groups, etc.

Set Add in 'Import Behaviour' tab.

Press the ‘Import’ button to import stock data.

It is possible to go back to any of the steps, make changes and regenerate import file if needed. All changes are saved automatically, and even if the import was not completed, it will be displayed in the Mass Import Grid so that you could continue importing later.

Find out how to install the Product Attachments extension via Composer.

Rate the user guide
 stars  from 1 votes (Details)
magento_2/product_attachments.txt · Last modified: 2019/05/24 10:24 by tihomirova