{"id":20380540,"url":"https://github.com/peterbrain/magento2-terms-conditions","last_synced_at":"2025-06-26T23:37:14.613Z","repository":{"id":57092659,"uuid":"256958603","full_name":"PeterBrain/magento2-terms-conditions","owner":"PeterBrain","description":"Shows all terms and conditions of the respective store view on a page","archived":false,"fork":false,"pushed_at":"2024-05-09T18:29:26.000Z","size":339,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T22:26:32.561Z","etag":null,"topics":["agb","legal-documents","magento","magento-2","magento-extension","magento-module","magento2","magento2-extension","magento2-extension-free","magento2-module","terms-and-conditions"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeterBrain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-19T09:16:40.000Z","updated_at":"2024-05-09T18:27:47.000Z","dependencies_parsed_at":"2025-01-15T06:49:03.178Z","dependency_job_id":"82126b61-b345-4ef2-a3aa-310d14eab754","html_url":"https://github.com/PeterBrain/magento2-terms-conditions","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.1875,"last_synced_commit":"6648ca9804345842cfbfa7200cca1a2a07fad567"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/PeterBrain/magento2-terms-conditions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterBrain%2Fmagento2-terms-conditions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterBrain%2Fmagento2-terms-conditions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterBrain%2Fmagento2-terms-conditions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterBrain%2Fmagento2-terms-conditions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterBrain","download_url":"https://codeload.github.com/PeterBrain/magento2-terms-conditions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterBrain%2Fmagento2-terms-conditions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262158997,"owners_count":23268067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agb","legal-documents","magento","magento-2","magento-extension","magento-module","magento2","magento2-extension","magento2-extension-free","magento2-module","terms-and-conditions"],"created_at":"2024-11-15T02:07:48.727Z","updated_at":"2025-06-26T23:37:14.571Z","avatar_url":"https://github.com/PeterBrain.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magento 2 Module - TermsConditions\n\nPackage name: `peterbrain/magento2-terms-conditions`\n\n- [Magento 2 Module - TermsConditions](#magento-2-module---termsconditions)\n  - [Main Functionalities](#main-functionalities)\n  - [Installation](#installation)\n    - [Method 1: Composer (recommended)](#method-1-composer-recommended)\n    - [Method 2: Zip file (not recommended)](#method-2-zip-file-not-recommended)\n    - [Enable \\\u0026 deploy](#enable--deploy)\n  - [Usage](#usage)\n  - [Credits](#credits)\n\n## Main Functionalities\n\n- Display all terms and conditions (Magento built-in feature) of the respective store view on a page.\n- Add this page to Sitemap.\n- Display specific terms and conditions within a page or block with a widget.\n\nWidget code:\n```html\n{{widget type=\"PeterBrain\\TermsConditions\\Block\\Widget\\Tc\" agreement_id=\"\u003cid\u003e\"}}\n```\nor use the Magento integrated GUI for widgets.\n\nWidget to display specific terms and conditions:\n![Use Widget to display specific terms and conditions.](https://github.com/PeterBrain/magento2-terms-conditions/blob/48eafbb506b34aefd93abbf1b16e809b43fce6f9/terms-conditions_widget.jpg?raw=true)\nAdmin configuration:\n![Admin configuration](https://raw.githubusercontent.com/PeterBrain/magento2-terms-conditions/df2e767d254f19d0604fb7fc6c4f9a4c5a997247/terms-conditions_admin.jpg?raw=true)\n\n## Installation\n\n### Method 1: Composer (recommended)\n\n```bash\ncomposer require peterbrain/magento2-terms-conditions\n```\n\n### Method 2: Zip file (not recommended)\n\n- Unzip the zip file in `app/code/PeterBrain`\n\nThis 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.\n\n### Enable \u0026 deploy\n\n```bash\nbin/magento module:enable PeterBrain_TermsConditions\nbin/magento setup:upgrade\nbin/magento setup:static-content:deploy\nbin/magento cache:flush\n```\n\n## Usage\n\n- Enable module ouptut in `Stores \u003e Configuration \u003e PeterBrain Extensions \u003e Terms \u0026 Conditions \u003e General Configuration`\n- In Magento 2 admin, navigate to `Stores \u003e Configuration \u003e Sales \u003e Checkout` and set `Enable Terms and Conditions` to `Yes`. Module status provides you with a short summary.\n- If not done already, add a new condition at `Stores \u003e Terms and Conditions`\n  - Every condition meeting the scope of your current store view will be displayed at `https://www.example.com/termsconditions/` and your custom url.\n- 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.\n\nRequired system configuration:\n![Required system configuration](https://github.com/PeterBrain/magento2-terms-conditions/blob/48eafbb506b34aefd93abbf1b16e809b43fce6f9/terms-conditions_sysconfig.jpg?raw=true)\n\n## Credits\n\nCredits go to [Abdul](https://magento.stackexchange.com/users/31184/abdul) from magento.stackenchange.com for the inspiration. See: \u003chttps://magento.stackexchange.com/questions/220500/show-terms-and-conditions-on-static-page\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterbrain%2Fmagento2-terms-conditions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterbrain%2Fmagento2-terms-conditions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterbrain%2Fmagento2-terms-conditions/lists"}