- extension key: Vianetz_AttachTermsAndConditions
This module for the Magento 1 online shop software offers the possibility to attach PDF documents (e.g. Terms And Conditions) to add to Magento order confirmation emails.
- PHP >= 5.6.0
- Vianetz_PdfAttachments
- Magento >= 1.7
This extension loops through all agreements that have been created in Magento Admin Sales > Terms and Conditions and checks if a PDF file exists in the media/ folder of the Magento directory with exactly the name of the agreement. In that case this file is attached to the sales order email.
For example if the agreement in the backend has the name "AGB" then the extension looks for the file media/AGB.pdf and if this file exists it is attached to the sales order transactional email.
For installation notes please see also our FAQ.
- Do a backup of your Magento installation for safety reasons.
- Disable Magento compilation feature (if activated): System > Tools > Compiler
- Unzip the setup package and copy the contents of the src/ folder into the Magento root folder. (The folder structure is the same as in your Magento installation. No files will be overwritten.) Please assure that the files are uploaded with the same file user permissions as the Magento installation!
- Clear the Magento cache (and related caches like APC if available)
- Logout from the admin panel and then login again
- Enable the Magento compilation feature (if it was activated before): System > Tools > Compiler
As an alternative you can install the module via modman. Please find more information about that installation method at https://github.com/colinmollenhour/modman (Thanks @colinmollenhour)
We also offer paid installation services. If you are interested please contact me.
- Remove the folder
app/code/community/Vianetz/AttachTermsAndConditions
- Remove the file
app/etc/modules/Vianetz_AttachTermsAndConditions.xml
Please find the Frequently Asked Questions on our website.
If you have any issues or suggestions with this extension, please do not hesitate to contact me.
Christoph Massmann https://www.vianetz.com @vianetz
(c) since 2006 vianetz
This Magento Extension uses Semantic Versioning - please find more information at http://semver.org.