Allows customers to add a comment to their order during checkout. The comment is saved with the order and visible in the admin and optionally in the customer's order history.
- PHP 8.0 or higher
- Magento 2.4 or higher
composer require echron/magento2-module-order-comment
php bin/magento module:enable Echron_OrderComment
php bin/magento setup:upgradeGo to Stores > Configuration > Echron Extensions > Checkout Order Comment.
| Setting | Description | Default |
|---|---|---|
| Show comment in customer account | Displays the comment on the order detail page in "My Account" | True |
| Field label | The label shown above the comment field | Order Comment |
| Field placeholder | Placeholder text inside the comment field | Enter your comment ... |
| Lines | Number of lines (1 renders a text input, more renders a textarea) | 1 |
| Max length | Maximum number of characters allowed, leave empty to set no limit | [empty] |