Title: Magento 2 Product Attachments
1Product Attachments for Magento 2 User Guide
- Table of Content
- 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
2- Extension Installation
- Extract the zip folder and upload our extension
to the root of your Magento 2 directory via FTP. - Login to your SSH and run below commands step by
step - php bin/magento setupupgrade
- For Magento version 2.0.x to 2.1.x - php
bin/magento setupstatic-contentdeploy - For Magento version 2.2.x above - php
bin/magento setupstatic-contentdeploy f - php bin/magento cacheflush
- Thats it.
- 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
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.
- 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. - Name Enter name for the attachment category.
- Description Add description to show along with
attachments - Is Active Enable attachment category from here.
Product Attachments for Magento 2
Meetanshi
4- 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
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
6- File Upload for Attachment
- File/URL Switcher Select attachment type
- Files Browse attachment file
- File Name The uploaded file name and size will
be displayed which can be removed also. - Customer Groups Select customer groups to allow
view and download attachment. - Store View Select store views to enable
attachment for.
Product Attachments for Magento 2
Meetanshi
7- 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
8- 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
9- 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
10- 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
11- Attachment on CMS Page
- The screenshot shows the file attachment on CMS
page.
Product Attachments for Magento 2
Meetanshi