1.
2.
3.
4.
5.
6.
7.
Extension Installation Guide
Configuration
CMS Page Settings
Creating Attachment Categories
Creating Product Attachments
Add Attachments from Product Edit
Product Attachments in Frontend
Product Attachments for Magento 2
© Meetanshi.com
1. Extension Installation



Extract the zip folder and upload our extension to root of your Magento 2 directory via FTP.
Login to your SSH and run below commands step by step:
o php bin/magento setup:upgrade
o php bin/magento setup:static-content:deploy
o php bin/magento cache:flush
That’s it.
2. Configuration
For configuring the extension, login to Magento 2, move to Stores  Configuration  Product
Attachments where you can find various settings to enable the extension.





Product Attachments: Enable Product Attachments extension
Product Attachments Tab Title: Enter title of the attachment tab in product page.
Product Attachments Heading: Add heading for the attachments.
Display File Size: Set “YES” to display file size in frontend.
Display Count of Downloads: Set “YES” to display the number of downloads in
frontend.
Product Attachments for Magento 2
© Meetanshi.com
3. CMS Page Settings
Settings to enable product attachments on CMS pages.
 Enable CMS Attachments: Select YES to enable product attachments on CMS pages.
 CMS Page Attachments Heading: Enter heading for product attachments to show on
CMS pages.
4. Creating Attachment Categories
You can create attachment categories to properly manage similar attachments under a single
category. Go to Catalog  Product Attachments  Manage Attachment Categories to create
and manage product attachments.
o Name: Enter name for the attachment category.
o Description: Add description to show along with attachments
o Is Active: Enable attachment category from here.
Product Attachments for Magento 2
© Meetanshi.com

Saved Attachment Categories
All the created and saved attachment categories are enlisted here. To add a new
attachment category, click on the “Add New Category” button.
Product Attachments for Magento 2
© Meetanshi.com
5. Creating Product Attachments
Once you have created attachment categories, you can start adding product attachments. Go to
Catalog  Product Attachments  Manage Attachments to create and manage product
attachments.
 Category: Select Attachment Category.
 Is Active: Enable Attachment.
 Name: Add Attachment name.
 Description: Add description for the attachment.
 Limit number of downloads: Enter numbers to limit downloads.
Product Attachments for Magento 2
© Meetanshi.com

File Upload for Attachment
o File/URL Switcher: Select attachment type
o Files: Browse attachment file
o File Name: The uploaded file name and size will be displayed which can be
removed also.
o Customer Groups: Select customer groups to allow view and download
attachment.
o Store View: Select store views to enable attachment for.
Product Attachments for Magento 2
© Meetanshi.com

Assign Products to Attachment
Select and assign products to attachment to show on product page in frontend from the
“Assign Products to Attachment” tab in the Attachment Information menu.

Assign CMS Pages
In the “Assign CMS Page” tab from the Attachment Information menu, select and assign
CMS pages to attachment to show on CMS pages on frontend.
Product Attachments for Magento 2
© Meetanshi.com

Saved Attachments
You can manage and view the saved attachments as shown below. You may also add a new
attachment by clicking on the “Add New Attachment”
6. Add Attachments from Product Edit
Apart from “Manage Attachments” section, you can also assign new attachments to the
products. Go to Catalog  Products  Edit Product and click on the “Add Attachments”
button under Product Attachments tab as shown below.
Product Attachments for Magento 2
© Meetanshi.com
7. Product Attachments in Frontend
 Product Attachments in frontend
Once you configure the above settings, the product attachments will be enables in the
frontend on product page as shown below. Moreover, the file type attachment is shown with
size, download information and description.

Product Attachments for Magento 2
© Meetanshi.com

URL Attachments in frontend
The URL type product attachment with link and description is displayed in the frontend as
shown below.

Product Attachments for Magento 2
© Meetanshi.com

Attachment on CMS Page
The screenshot shows the file attachment on CMS page.
If you have any question or need support, Contact us at https://meetanshi.com/contacts/
Product Attachments for Magento 2
© Meetanshi.com

Magento 2 Product Attachments