PHPackages                             peterbrain/magento2-terms-conditions - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. peterbrain/magento2-terms-conditions

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

peterbrain/magento2-terms-conditions
====================================

Display all terms and conditions of the respective store view on a page

0.1.2(2y ago)144OSL-3.0PHP

Since Apr 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/PeterBrain/magento2-terms-conditions)[ Packagist](https://packagist.org/packages/peterbrain/magento2-terms-conditions)[ RSS](/packages/peterbrain-magento2-terms-conditions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (0)

Magento 2 Module - TermsConditions
==================================

[](#magento-2-module---termsconditions)

Package name: `peterbrain/magento2-terms-conditions`

- [Magento 2 Module - TermsConditions](#magento-2-module---termsconditions)
    - [Main Functionalities](#main-functionalities)
    - [Installation](#installation)
        - [Method 1: Composer (recommended)](#method-1-composer-recommended)
        - [Method 2: Zip file (not recommended)](#method-2-zip-file-not-recommended)
        - [Enable &amp; deploy](#enable--deploy)
    - [Usage](#usage)
    - [Credits](#credits)

Main Functionalities
--------------------

[](#main-functionalities)

- Display all terms and conditions (Magento built-in feature) of the respective store view on a page.
- Add this page to Sitemap.
- Display specific terms and conditions within a page or block with a widget.

Widget code:

```
{{widget type="PeterBrain\TermsConditions\Block\Widget\Tc" agreement_id=""}}
```

or use the Magento integrated GUI for widgets.

Widget to display specific terms and conditions: [![Use Widget to display specific terms and conditions.](https://github.com/PeterBrain/magento2-terms-conditions/raw/48eafbb506b34aefd93abbf1b16e809b43fce6f9/terms-conditions_widget.jpg?raw=true)](https://github.com/PeterBrain/magento2-terms-conditions/blob/48eafbb506b34aefd93abbf1b16e809b43fce6f9/terms-conditions_widget.jpg?raw=true)Admin configuration: [![Admin configuration](https://raw.githubusercontent.com/PeterBrain/magento2-terms-conditions/df2e767d254f19d0604fb7fc6c4f9a4c5a997247/terms-conditions_admin.jpg?raw=true)](https://raw.githubusercontent.com/PeterBrain/magento2-terms-conditions/df2e767d254f19d0604fb7fc6c4f9a4c5a997247/terms-conditions_admin.jpg?raw=true)

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

[](#installation)

### Method 1: Composer (recommended)

[](#method-1-composer-recommended)

```
composer require peterbrain/magento2-terms-conditions
```

### Method 2: Zip file (not recommended)

[](#method-2-zip-file-not-recommended)

- Unzip the zip file in `app/code/PeterBrain`

This extension requires [PeterBrain Core](https://github.com/PeterBrain/magento2-peterbrain-core). Ensure that you have it installed prior to installing this module. Use Composer to install it automatically with this module.

### Enable &amp; deploy

[](#enable--deploy)

```
bin/magento module:enable PeterBrain_TermsConditions
bin/magento setup:upgrade
bin/magento setup:static-content:deploy
bin/magento cache:flush
```

Usage
-----

[](#usage)

- Enable module ouptut in `Stores > Configuration > PeterBrain Extensions > Terms & Conditions > General Configuration`
- In Magento 2 admin, navigate to `Stores > Configuration > Sales > Checkout` and set `Enable Terms and Conditions` to `Yes`. Module status provides you with a short summary.
- If not done already, add a new condition at `Stores > Terms and Conditions`
    - Every condition meeting the scope of your current store view will be displayed at `https://www.example.com/termsconditions/` and your custom url.
- The url to the terms and conditions is automatically added to the sitemap the next time it is generated. If a user-defined url is specified, only this url will be added to the sitemap.

Required system configuration: [![Required system configuration](https://github.com/PeterBrain/magento2-terms-conditions/raw/48eafbb506b34aefd93abbf1b16e809b43fce6f9/terms-conditions_sysconfig.jpg?raw=true)](https://github.com/PeterBrain/magento2-terms-conditions/blob/48eafbb506b34aefd93abbf1b16e809b43fce6f9/terms-conditions_sysconfig.jpg?raw=true)

Credits
-------

[](#credits)

Credits go to [Abdul](https://magento.stackexchange.com/users/31184/abdul) from magento.stackenchange.com for the inspiration. See:

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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 ~211 days

Recently: every ~222 days

Total

8

Last Release

732d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82a4dff352f84e30fcf369255490dc281e9eec294691e0afef4c4a5c88443d7f?d=identicon)[PeterBrain](/maintainers/PeterBrain)

---

Top Contributors

[![PeterBrain](https://avatars.githubusercontent.com/u/3484124?v=4)](https://github.com/PeterBrain "PeterBrain (18 commits)")

---

Tags

agblegal-documentsmagentomagento-2magento-extensionmagento-modulemagento2magento2-extensionmagento2-extension-freemagento2-moduleterms-and-conditions

### Embed Badge

![Health badge](/badges/peterbrain-magento2-terms-conditions/health.svg)

```
[![Health](https://phpackages.com/badges/peterbrain-magento2-terms-conditions/health.svg)](https://phpackages.com/packages/peterbrain-magento2-terms-conditions)
```

###  Alternatives

[js-phpize/js-phpize

Convert js-like syntax to standalone PHP code.

23402.4k3](/packages/js-phpize-js-phpize)

PHPackages © 2026

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