Magento 2 extension To attached Pdf file In Invoice from Admin sales Section
- Extension to include pdf file in invoice email
- Admin can upload pdf file while generating invoice from backend.
- Pdf file will be diplay in invoice email.
- Looks like core functionality of Magento (at backend as well as frontend)
- Unencrypted code for easy customization
* = in production please use the --keep-generated
option
- Unzip the zip file in
app/code/Nadeem
- Enable the module by running
php bin/magento module:enable Nadeem_PdfFileAttachment
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
- Make the module available in a composer repository for example:
- private repository
repo.magento.com
- public repository
packagist.org
- public github repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/
- Install the module composer by running
composer require nadeem/module-pdffileattachment
- enable the module by running
php bin/magento module:enable Nadeem_PdfFileAttachment
- apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Want to contribute to this extension? The quickest way is to open a pull request on GitHub.
If you encounter any problems or bugs, please open an issue on GitHub.
Admin Configuration
Prerequisite | How to check | For more information |
---|---|---|
Apache 2.2 or 2.4 | Ubuntu: apache2 -v CentOS: httpd -v |
Apache |
PHP 7.*.* | php -v |
PHP Ubuntu PHP CentOS |
MySQL 5.6.x | mysql -u [root user name] -p |
MySQL |