aimanecouissi / module-sales-order-checkout-agreements-admin-ui
Add checkout agreements to the Admin order view
Package info
github.com/aimanecouissi/magento2-module-sales-order-checkout-agreements-admin-ui
Type:magento2-module
pkg:composer/aimanecouissi/module-sales-order-checkout-agreements-admin-ui
Requires
- php: ^8.3
- magento/framework: 103.0.*
README
Adds a Terms and Conditions section to order views in Admin → Sales → Orders. The module stores accepted checkout agreements on the order at placement and displays the stored agreement names and content on the Admin order view.
Installation
composer require aimanecouissi/module-sales-order-checkout-agreements-admin-ui bin/magento module:enable AimaneCouissi_SalesOrderCheckoutAgreementsAdminUi bin/magento setup:upgrade bin/magento cache:flush
Usage
During order placement, active checkout agreements for the store are serialized onto the order. Open an order from the Admin → Sales → Orders grid to view the Terms and Conditions section, which lists each stored agreement name and accepted content.
A View link appears for stored agreements that still exist in Magento checkout agreement records. Stored content remains visible when the agreement record later becomes unavailable.
Uninstall
bin/magento module:disable AimaneCouissi_SalesOrderCheckoutAgreementsAdminUi composer remove aimanecouissi/module-sales-order-checkout-agreements-admin-ui bin/magento setup:upgrade bin/magento cache:flush
Changelog
See CHANGELOG for all recent changes.