PHPackages                             vianetz/magento1-attachtermsandconditions - 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. vianetz/magento1-attachtermsandconditions

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

vianetz/magento1-attachtermsandconditions
=========================================

A Magento 1 extension to attach PDF documents to emails.

2.2.1(5y ago)11.2kGPL-3.0-or-laterPHPPHP ^5.6|^7|^8

Since Apr 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/vianetz/magento1-attachtermsandconditions)[ Packagist](https://packagist.org/packages/vianetz/magento1-attachtermsandconditions)[ RSS](/packages/vianetz-magento1-attachtermsandconditions/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

Vianetz Attach Terms And Conditions Extension for Magento
=========================================================

[](#vianetz-attach-terms-and-conditions-extension-for-magento)

Facts
-----

[](#facts)

- extension key: Vianetz\_AttachTermsAndConditions

Description
-----------

[](#description)

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.

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6.0
- [Vianetz\_PdfAttachments](https://github.com/vianetz/magento1-pdfattachments)

Compatibility
-------------

[](#compatibility)

- Magento &gt;= 1.7

Usage
-----

[](#usage)

This extension loops through all agreements that have been created in Magento Admin Sales &gt; 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.

Installation Instructions
-------------------------

[](#installation-instructions)

For installation notes please see also [our FAQ](https://www.vianetz.com/en/faq/how-to-install-the-magento-extension.html).

1. Do a backup of your Magento installation for safety reasons.
2. Disable Magento compilation feature (if activated): System &gt; Tools &gt; Compiler
3. 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!
4. Clear the Magento cache (and related caches like APC if available)
5. Logout from the admin panel and then login again
6. Enable the Magento compilation feature (if it was activated before): System &gt; Tools &gt; Compiler

As an alternative you can install the module via modman. Please find more information about that installation method at (Thanks @colinmollenhour)

We also offer paid installation services. If you are interested please contact me.

Uninstallation
--------------

[](#uninstallation)

1. Remove the folder `app/code/community/Vianetz/AttachTermsAndConditions`
2. Remove the file `app/etc/modules/Vianetz_AttachTermsAndConditions.xml`

Frequently Asked Questions
--------------------------

[](#frequently-asked-questions)

Please find the [Frequently Asked Questions on our website](https://www.vianetz.com/en/faq).

Support
-------

[](#support)

If you have any issues or suggestions with this extension, please do not hesitate to [contact me](https://www.vianetz.com/en/contacts).

Developer
---------

[](#developer)

Christoph Massmann [@vianetz](https://twitter.com/vianetz)

Licence
-------

[](#licence)

[GNU GENERAL PUBLIC LICENSE](http://www.gnu.org/licenses/gpl-3.0.txt)

Copyright
---------

[](#copyright)

(c) since 2006 vianetz

This Magento Extension uses Semantic Versioning - please find more information at .

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~307 days

Total

2

Last Release

1916d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ff492874815eed37664a65070bcd600b4cbe9b0356afa8a9ae2482119fe98e4?d=identicon)[ma4nn](/maintainers/ma4nn)

---

Top Contributors

[![ma4nn](https://avatars.githubusercontent.com/u/26252058?v=4)](https://github.com/ma4nn "ma4nn (30 commits)")

---

Tags

magento-extensionmagento1magento1-moduleopenmagepdfmagentoopenmagevianetz

### Embed Badge

![Health badge](/badges/vianetz-magento1-attachtermsandconditions/health.svg)

```
[![Health](https://phpackages.com/badges/vianetz-magento1-attachtermsandconditions/health.svg)](https://phpackages.com/packages/vianetz-magento1-attachtermsandconditions)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M278](/packages/barryvdh-laravel-dompdf)[tecnickcom/tcpdf

TCPDF is a PHP class for generating PDF documents and barcodes.

4.5k101.8M473](/packages/tecnickcom-tcpdf)[mpdf/mpdf

PHP library generating PDF files from UTF-8 encoded HTML

4.7k77.1M493](/packages/mpdf-mpdf)[knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

4.5k68.3M56](/packages/knplabs-knp-snappy)[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)

PHPackages © 2026

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