Checkout Comment - Add an order comment in Magento 2

€28.33 €23.03
COMPOSER Installation
M2-COMMNT
PayPal PayPal
Przelew Przelew

Magento Modules: Clear Guidelines

You purchase the module once, with no domain restrictions

Tooltip

Free installation and updates via Composer

Tooltip

Affiliate Program

Tooltip

Technical support for Magento

Tooltip

Clear guidelines for licensing Magento modules

Tooltip

Magento Module Code Security

Tooltip

The Checkout Comment module for Magento 2 lets you add a customer comment field during order placement. The comment is saved in the database, displayed in the admin panel, and available in the order history.

Key features

  • Add a comment field on the payment page in Magento 2.
  • Automatically save the comment to the database.
  • Display the comment in the order details in the admin panel.
  • Checkout Comment column in the order grid in Magento Admin.
  • Option to enable and disable the module in the Magento configuration.
  • SEO optimization - improved customer service quality and better order management.

Use cases

The module is useful for Magento stores that want to allow customers to provide additional information with their order, such as:

  • Delivery information, e.g. Please deliver after 6:00 PM
  • Packaging notes, e.g. Pack as a gift
  • Special order notes

Configuration and management

The module allows you to fully manage customer comments through the Magento 2 admin panel. You can:

  • Enable or disable the comment field in the Magento configuration.
  • View comments on the order list in the admin panel.
  • Search and sort orders by comment content.

Magento 2 compatibility

The module has been designed in accordance with the official Magento 2 guidelines. It does not interfere with the core sales process code and does not require cart modifications. As a result, it provides full compatibility with future Magento updates and other modules extending checkout.

Installation and implementation

To install the module, simply:

  1. Install the module: - Add the composer repository to the configuration by running
     composer config repositories.project.checkout.comment vcs https://gitlab.com/magento2ext/magento-2-checkout-comment
    Add an access token to the private GitLab repository
    composer config --auth gitlab-token.gitlab.com <YOUR_TOKEN>
    Install the composer module by running
    composer require kowal/module-checkoutcomment
    Enable the module by running
    php bin/magento module:enable Kowal_CheckoutComment
  2. Run the commands:
     bin/magento setup:upgrade bin/magento setup:di:compile bin/magento cache:flush bin/magento indexer:reindex sales_order_grid 
  3. Go to Kowal.co → Checkout Comment → Settings and enable the module.

Version: 1.0.1

28.01.2025

Fix

Improved saving of the comment in the order comment history

Version: 1.0.7

12.08.2025

Fix

We expanded the module so that a comment can be generated in the order confirmation sent to the customer. Now, by adding this code to the template:

{{if order_comment}}

Komentarz do zamówienia:
{{var order_comment|escape|nl2br}}

{{/if}}

The customer comment will be added to the order confirmation.

Version: 1.0.15

03.03.2026

Fix

  • Fixed synchronization of the checkout_comment field with the sales_order_grid table.
  • The checkout comment is now correctly visible in the order grid column in the admin panel.

Added

  • Added saving the customer comment to the order comment history (Comments History) in the order view.
  • The comment is added automatically during order placement and marked as not notifying the customer.

Technical

  • Added mapping for the checkout_comment column in the Order Grid configuration (di.xml), so that the grid retrieves data from sales_order.checkout_comment.
  • Extended the sales_model_service_quote_submit_before observer to add an entry to the order status history.

Questions and Answers

Question
Does the module allow the customer to enter their own comment on the payment page?
Answer
Yes — the module adds a comment field at the checkout stage, during payment, allowing the customer to enter a note (“Please deliver after 6:00 PM,” “Wrap as a gift,” etc.).
Question
Is the comment saved in the database and available in the admin panel?
Answer
Yes — the comment is automatically saved in the database and displayed in the order details in the Magento admin panel.
Question
Does the module add a “Checkout Comment” column to the order grid in the admin panel?
Answer
Yes — an additional column with the comment entered by the customer appears in the order grid in the admin panel.
Question
Can I enable or disable the module in the Magento configuration?
Answer
Yes — the module has an option to be enabled or disabled in the Magento store configuration.
Question
Does the module require modifications to Magento core files or the template?
Answer
No — the module is designed in accordance with Magento 2 guidelines and does not require editing system files or the checkout template.
Question
Does it work with Magento 2.4.x versions?
Answer
Yes — the module is compatible with versions 2.4.0–2.4.7, among others.
Question
Can orders be searched by the content of the customer comment?
Answer
Yes — the configuration allows you to search and sort orders in the admin panel also by the content of the comment.
Question
Does the module affect store performance?
Answer
The impact on performance is minimal — the module only adds a field and saves data, so it should run smoothly even in larger stores. However, testing in a staging environment is recommended before production.
Question
Is the customer's comment also visible on the invoice or in the email?
Answer
By default, the module saves the comment in the order — depending on the theme or additional modules, it may be necessary to add its display on the invoice or in the email through the template.
Question
Will I receive support and module updates after purchase?
Answer
Yes — the manufacturer provides technical support and compatibility updates for Magento 2 modules.
Write Your Own Review
You're reviewing:Checkout Comment - Add an order comment in Magento 2
Your Rating
Aktualizacja preferencji plików cookie