Today, we’re going to teach you guys how to add an order comment field to the checkout page in your Magento 2 store.
Adding an order comment field to the checkout page allows customers to leave their personal requests to their orders.
Now, the easiest way to add an order comment field is with Magento 2 Order Attributes Extension.
And in this post, we will show you how to configure Magento 2 Order Attribute Extension to add an order comment field to your checkout page.
Steps to Add a Comment Field to Magento 2 Checkout Page with Magento 2 Order Attributes Extension
In order to add an order comment field, you need to install Magento 2 Order Attributes Extension.
After you’ve installed the extension, you need to follow the below steps to add an order comment field to the checkout page.
- Step.1 Log in to your admin panel and go to Stores > Order Attribute > Configuration.
- Step.2 Expand the General section and select YES in the Enabled field.
- Step.3 Go to the Checkout Settings tab and do the mentioned changes.
- Step.4 Go to the Order Attributes In The Invoices And Shipments (Admin) tab and do the mentioned changes.
- Step.5 Save Config button to finish the process.
Let's learn each step in detail to configure Magento 2 Add Comment Field to Checkout.
Step 1.
First, you need to log in to your admin panel and go to Stores > Order Attribute > Configuration.
Step 2.
Next, you need to expand the General section and select YES in the Enabled field.
Step 3.
After that, go to the Checkout Settings tab and do the following:
- Select YES in the Display Attribute Values In The Order Summary field.
- Select YES in the Include Order Attributes Into Emails field.
Step 4.
Finally, go to the Order Attributes In The Invoices And Shipments (Admin) tab and do the following:
- Write a title for the comment field in the Order View Title field.
- Select YES in the Display On The Invoice Grid field.
- Select YES in the Include Order Attributes Into Invoice PDF field.
- Select YES in the Display On The Shipments Grid field.
- Select YES in the Include Order Attributes Into Shipment PDF (Packing Slip) field.
Step 5.
Lastly, find and click on the Save Config button to finish the process.
Conclusion
And that’s about it!
This is how you can configure Magento 2 Order Attributes Extension to add an order comment field to the checkout page of your Magento 2 store.
And if you need our professional help with your Magento 2 Development project, feel free to reach out to us at any time.