PHPackages                             magepsycho/magento2-product-pdf-file-attachment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. magepsycho/magento2-product-pdf-file-attachment

ActiveMagento2-module[PDF &amp; Document Generation](/categories/documents)

magepsycho/magento2-product-pdf-file-attachment
===============================================

Product PDF Attachment

1.0.1(3y ago)61.8k8[1 issues](https://github.com/MagePsycho/magento2-product-pdf-file-attachment/issues)OSL-3.0PHP

Since Feb 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/MagePsycho/magento2-product-pdf-file-attachment)[ Packagist](https://packagist.org/packages/magepsycho/magento2-product-pdf-file-attachment)[ RSS](/packages/magepsycho-magento2-product-pdf-file-attachment/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

[![Magento 2 Product Attachment](https://camo.githubusercontent.com/21d85452cbb9037cc0b473fb795e3f117158b344da13996fc3f294103b63db2b/68747470733a2f2f692e696d6775722e636f6d2f643851454852622e706e67)](https://camo.githubusercontent.com/21d85452cbb9037cc0b473fb795e3f117158b344da13996fc3f294103b63db2b/68747470733a2f2f692e696d6775722e636f6d2f643851454852622e706e67)

Magento 2 Product Attachment
============================

[](#magento-2-product-attachment)

[![Packagist Version](https://camo.githubusercontent.com/21cb95330ec25c8af4495d249fab5879bb62f0adf9d2b270e1339ebd89bd6064/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f4d61676550737963686f2f6d6167656e746f322d70726f647563742d7064662d66696c652d6174746163686d656e743f736f72743d73656d766572266c6162656c3d7061636b6167697374267374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/magepsycho/magento2-product-pdf-file-attachment)[![Packagist Downloads](https://camo.githubusercontent.com/5ac0023504a43823d087cbd14b78655b25a7d1ba5e4be341e33ad6d55eea4b63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61676570737963686f2f6d6167656e746f322d70726f647563742d7064662d66696c652d6174746163686d656e742e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/magepsycho/magento2-product-pdf-file-attachment/stats)[![Supported Magento Versions](https://camo.githubusercontent.com/383fa0d82dfdc41be8815b1665beec1d0f96e7b1c5d65d1b3a792f2bc164b767/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d253230322e335f2537435f322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/383fa0d82dfdc41be8815b1665beec1d0f96e7b1c5d65d1b3a792f2bc164b767/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d253230322e335f2537435f322e342d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666f722d7468652d6261646765)[![License](https://camo.githubusercontent.com/a8e59c52a61079bac6876857b971b3115f991aa15de6cb7a243876b23007bb62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e3f636f6c6f723d253233323334267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/a8e59c52a61079bac6876857b971b3115f991aa15de6cb7a243876b23007bb62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e3f636f6c6f723d253233323334267374796c653d666f722d7468652d6261646765)

Overview
--------

[](#overview)

[Magento 2 Product Attachment](https://www.magepsycho.com/magento2-product-pdf-file-attachment.html) extension allows attaching additional information such as manuals, warranty, recipes, etc. in different formats (`pdf`, `doc`, `jpg`, `zip`, etc.) to the product page.

Key Features
------------

[](#key-features)

- Option to enable/disable the extension as per store
- Option to attach different types of files (`pdf`, `doc`, `jpg`, `zip`, etc.)
- Option to configure attachment labels

Feature Highlights
------------------

[](#feature-highlights)

### Product Attachment

[](#product-attachment)

With this extension, store admin can attach/upload different file types to provide additional information about the product.
And user can view and download the attachment from the tab of the product page.

[![M2 Product Attachment - Product Edit Page](https://camo.githubusercontent.com/73fdcec31734e79d7db39fe664bbe67f3e49b435ecec01d9f72c2688ca625e05/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f342f302f34302d6d322d70726f647563742d6174746163686d656e742d61646d696e2d70726f647563742d656469742e706e67)](https://camo.githubusercontent.com/73fdcec31734e79d7db39fe664bbe67f3e49b435ecec01d9f72c2688ca625e05/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f342f302f34302d6d322d70726f647563742d6174746163686d656e742d61646d696e2d70726f647563742d656469742e706e67)

[![M2 Product Attachment - Product Storefront Page](https://camo.githubusercontent.com/eeda3e6200abc4f9f247c8e0bc07cc378c09544b89509c4d2d3eaa3c31777685/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f352f302f35302d312d6d322d70726f647563742d6174746163686d656e742d66726f6e74656e642d70726f647563742e706e67)](https://camo.githubusercontent.com/eeda3e6200abc4f9f247c8e0bc07cc378c09544b89509c4d2d3eaa3c31777685/68747470733a2f2f7777772e6d61676570737963686f2e636f6d2f6d656469612f636174616c6f672f70726f647563742f352f302f35302d312d6d322d70726f647563742d6174746163686d656e742d66726f6e74656e642d70726f647563742e706e67)

Installation
------------

[](#installation)

1. Download the extension .zip file and extract the files.
2. Copy the extension files from src/ folder to the {your-magento2-root-dir}/app/code/MagePsycho/ProductAttachment *(create non-existing folders manually)*
3. Run the following series of command from SSH console of your server:

```
php bin/magento module:enable MagePsycho_ProductAttachment --clear-static-content
php bin/magento setup:upgrade

```

1. Flush the store cache

```
php bin/magento cache:flush

```

1. Deploy static content - *in Production mode only*

```
rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy

```

1. Go to Admin &gt; CATALOG &gt; Product Attachment &gt; Manage Settings

Live Demo:
----------

[](#live-demo)

- [Backend Demo](http://m2default.mage-expo.com/admin_m2demo/?module=productattachment)
- [Frontend Demo](http://m2default.mage-expo.com/dual-handle-cardio-ball.html)

Changelog
---------

[](#changelog)

**Version 1.0.0 (2022-01-16)**

- Initial Release.

Authors
-------

[](#authors)

- Raj KB \[Maintainer\] [![Twitter Follow](https://camo.githubusercontent.com/1264ebcaa4f5a0968a5dc17aae246f1ae578e0e75bb9660cf06d3131596ca1fe/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f72616a6b626e702e7376673f7374796c653d736f6369616c)](https://twitter.com/rajkbnp)
- `{{this could be you}}` (see "Contribution" section)

Need Support?
-------------

[](#need-support)

If you encounter any problems or bugs, please create an issue on [GitHub](https://github.com/MagePsycho/magento2-product-pdf-file-attachment/issues).

Please [visit our store](https://www.magepsycho.com/extensions/magento-2.html) for more FREE / paid extensions OR [contact us](https://magepsycho.com/contact) for customization / development services.

Contribution
------------

[](#contribution)

Any contribution to the development of `Magento 2 Product Attachment` is highly welcome.
The best possibility to provide any code is to open a [pull request on GitHub](https://github.com/MagePsycho/magento2-product-pdf-file-attachment/pulls).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~243 days

Total

2

Last Release

1315d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47c847a6fe8bcd713aace9722ded18e2be56ffffde75e1a876957128714563e5?d=identicon)[MagePsycho](/maintainers/MagePsycho)

---

Top Contributors

[![MagePsycho](https://avatars.githubusercontent.com/u/1205071?v=4)](https://github.com/MagePsycho "MagePsycho (2 commits)")[![AndrewRMillar](https://avatars.githubusercontent.com/u/17785016?v=4)](https://github.com/AndrewRMillar "AndrewRMillar (1 commits)")

---

Tags

docexcelextensionjpgmagentomagento2modulepdfpluginpngproduct-attachmentzip

### Embed Badge

![Health badge](/badges/magepsycho-magento2-product-pdf-file-attachment/health.svg)

```
[![Health](https://phpackages.com/badges/magepsycho-magento2-product-pdf-file-attachment/health.svg)](https://phpackages.com/packages/magepsycho-magento2-product-pdf-file-attachment)
```

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.3k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
