Magento 2 Module to add a comment field above the place order button in the checkout
This extension allows customers to place a comment during the checkout. The comment field is displayed in the billing step right above the place order button.
Store owners can then see these comments in the backend on the order grid and on the order view page.
composer require "BezigeBoefjescommerce/magento2-ordercomments":"~1.1.3" php bin/magento module:enable BezigeBoefjes_OrderComment php bin/magento setup:upgrade
To take in account third party payment extensions using custom implementations of Magento_Checkout/js/action/place-order.js to submit the order, this extension sends the order comment in a separate request during the validation, before the order is placed. It should therefore work out of the box.
If you installed this module through composer, then you can run
php bin/magento module:uninstall BezigeBoefjes_OrderComment to automatically
remove the code and drop the columns added by this extension.
note: the uninstall command seems bugged and might get stuck at
Removing code from Magento codebase: (It worked fine for me on a 2.1.0 install but not on a 2.1.4 install). When this happens you should
ctrl+c and run
composer update php bin/magento maintenance:disable
Alternatively you can manually remove the extension and remove the column
BezigeBoefjes_order_comment from the tables