Product Attachment - Magento 2 Extension

Introduction

  • Created On: 19th February, 2016
  • Last Updated On: 26th September, 2020
  • By: Solwin Team
  • Email: info@solwininfotech.com

Installation

Installation Process

Note: Please take a backup of your all Magento files and database before installing or updating any extension.

Download the extension file:
  1. Download the Product Attachments extension .ZIP file from solwininfotech.com using your Solwin Infotech website account.
  2. Extract the .ZIP file which contains another .ZIP files.
  3. If you have purchased the extension for the Community Edition, then you will see the extension .ZIP file for Magento 2.1.x, Magento 2.2.x, Magento 2.3.x, and Magento 2.4.x version.
    If you have purchased the extension for the Enterprise Edition, then you will see the extension .ZIP file for Magento 2.1.x, Magento 2.2.x and Magento 2.3.x version.
Extension Installation

For Magento 2 Community Edition,

  1. If you are using Magento 2.1.x then you need to extract solwin-productattachment-m2-2.1.x.zip file.
    If you are using Magento 2.2.x then you need to extract solwin-productattachment-m2-2.2.x.zip file.
    If you are using Magento 2.3.x, Magento 2.4.x then you need to extract solwin-productattachment-m2.zip file.

For Magento 2 Enterprise Edition,

  1. If you are using Magento 2.1.x then you need to extract solwin-productattachment-m2-EE-2.1.x.zip file.
    If you are using Magento 2.2.x then you need to extract solwin-productattachment-m2-EE-2.2.x.zip file.
    If you are using Magento 2.3.x then you need to extract solwin-productattachment-m2-EE.zip file.

Following 2 to 6 steps are the same for Community and Enterprise edition.

  1. Copy the app and pub folder and paste it into your magento ROOT directory.
  2. Run upgrade command as specified : php bin/magento setup:upgrade.
  3. Run deploy command as specified : php bin/magento setup:static-content:deploy -f.
  4. Clear the cache either from the admin panel or command line php bin/magento cache:clean.
  5. Now, you can see the Solwin menu in admin panel. Please go to Solwin -> Product Attachments -> Configuration and select Enable to Yes.
  6. Change/Set all other options as per your requirements and save settings.

NOTE : Make sure the installation is done from under the FTP administrator account. Otherwise make sure to set 775 permissions to the store root directory after the extension is deployed.

Getting Started

A setup guide and general information to help you

This document covers the installation, set up and use of this extension and provide answers and solutions to common problems and issues. We encourage you to read this document thoroughly if you are experiencing any difficulties.

Information

Product Attachment Magento 2 extension Makes your files available for download by uploading them from backend. Upload multiple file types such as pdf, docx, jpg, jpeg, png, ppt, docs, etc. Also add file format which user want to display. Upload particular files from Manage Attachment. Display product attachment customer group wise from backend. Show attached files on product detail page in attachement tab and inside product info block. For each product you can upload as many attached files as it is required. This extension has no limits amount of attached files to product.

Features

You can find these features below:

  • Easy to install and manage
  • Ability to enable/disable from backend
  • Set product attachment settings store wise from admin
  • Display product attachment customer group wise from admin
  • Shows attached files on product details page under product info block
  • On product detail page, shows attached files under Attachment tab
  • Upload several file types such as docs, PDF, excel sheets, images and many other types
  • Extension has no limits amount of attached files to product
  • Instant file validation on add/edit the attachment
  • Select the products on add/edit the attachment
  • Select the attachments on add/edit the product.
  • Admin add attachments with category wise.
  • Extension provide drag and drop facility to upload file.

How To Use

In front side, On product view page customer can see the attached files list and customer can download attached files unlimited number of times

product attachment info block

On product view page, There is a Attachment tab after Review tab. From that customer can also download attachment for particular products.

product attachment tab

On product view page, admin also display attachments on below media screen. From that customer can also download attachment for particular products.

product attachment belwo media

How To Configure

To manage File Icons, Go to Solwin >> Product Attachment >> Manage File Icons.

product attachment file icon admin grid


Click on Add New File Icon button to add new file icon like

product attachment file icon admin form

  • Icon Type: Enter icon type name.
  • File: Drag and drop icon file in box.
  • Status: Enable | Disable.

To manage Categories, Go to Solwin >> Product Attachment >> Manage Categories.

product attachment category admin grid


Click on Add New Category button to add new category like

product attachment category admin form

  • Title: Enter category title.
  • Store View: Select store view.
  • Status: Enable | Disable.

To manage all Attachment, Go to Solwin >> Product Attachment >> Manage Attachments.

product attachment admin grid


Click on Add New Attachment button to add new attachment like

product attachment admin form

  • Title: Enter attachment title.
  • Category: Select attachment category.
  • File: Upload attachment file.
  • Store View: Select store view.
  • Customer Group: Select customer group.
  • Status: Enable | Disable.
  • Need Login To Download?: Yes | No.

Click on 'Select Products' button to add product in new attachment like

product attachment admin form

  • Select product item to display created attachment on product page.

Product Page Setting

If you want to add attachment by product add/edit section then, Go to product add/edit Product and click on "Add Attachment" tab.

product attachment admin product

Select attachments and click on "Add Selected Attachments" tab. and then save product.

product attachment admin product 2

Now you can see selected attachment display on Product Attachments tabs.

product attachment admin product 3

Settings

In the Backend from Solwin >> Product Attachment >> Configuration menu, our extension allows you to enable or disable the module in your store and provide you more configuration options for product attachment.

There are some configuration options for product attachment. Let's discuss all in more details.

product attachment settings

General

  • Enable: Yes | No.
  • Set Attachment Title: Enter attachment title.
  • Allowed File Types: Enter file format.
  • Show Attachment Tab: Yes | No.
  • Show Attachment Block: Yes | No.
  • Show Attachment Media: Yes | No.
  • Maximum Allow File Size(In KB): Enter maximum allow file size(In KB).
  • Display Attachment File Size At Frontend?: Yes | No.
  • Display Downloads Counter?: Yes | No.
  • "How To Download" Message: Enter message for need login before the download link file.

Icon Setting

  • Display Icon: Yes | No.
  • Custom Height - Width: Yes | No.
  • Width (In px): Enter width (In px).
  • Height (In px): Enter height (In px).

Widget

Product Attachment Widget

1. Click on Content >> Pages.

2. Click on "Add New Page" button and create new page or open your existing page.

3. Go to “Content” section and click on “Insert Widget...” tab.

display product attachment via widget
  • Widget Type: Select widget type “Solwin - Product Attachment Widget”.
  • Title: Enter title for widget section.
  • Select Product Attachments: Select attachments which you want to display.
  • Display Attachment Size: Yes | No.
  • Display Attachment Download counter: Yes | No.
  • "How To Download" Message: Enter message for "How To Download".
display product attachment widget front view

Support

If you have any questions or requests, please contact us at support@solwininfotech.com. We are very happy to assist you!

  1. Website: https://solwininfotech.com
  2. Blog: https://solwininfotech.com/blog
  3. Support: http://support.solwininfotech.com