Customer Order Comment
-
12974 Popularity Score
Popularity ScoreReferrals to Site/Downloads
0
1+
250+
1000+
10000+
- 58 Customer Reviews
- Compatible with:
- Developer Info /
- Profile
- Support
- Extensions
- Overview
-
Customer Order Comment
Hotfix for Magento Versions > 1.4.1.0Pleaser refer to http://www.widgetsandburritos.com/technical/programming/customer-order-comment-magento-1-4-1-0/ if you use Magento 1.4.1.0 or greater. For Versions > 1.4.1.0 you will have to create a column in the sales_flat_order table. (Don't forget to add your database table-prefix, if you use one.)
Thanks to David Stinemetze (www.widgetsandburritos.com) for sharing the fix with us.
This small extension adds an EAV-Attribute to the order entity model, so customers can write comments for their orders at review in the checkout. No more, no less. It is not the authors intention to build in more functionality in the near future.
To get this extension work, some manual changes in the template files are requiredIn the folder /app/code/community/Biebersdorf/CustomerOrderComment/design/ you will find template files as examples for the latest version of the magento default theme. Copy them to the right places of your design theme modification folder or add the needed changes to your existing template files. Please do not overwrite the original template files (better follow the instructions of the Designer's Guide and set up your own theme)!
Explaination for the needed changes in templatesYou have to add a HTML textarea field in your copies of the files app/design/frontend/default/default/template/checkout/onepage/agreements.phtml and app/design/frontend/default/default/template/checkout/multishipping/agreements.phtml. For Onepage Checkout place the new textarea inside the form (opening and closing form tags) to be sure the comment variable is submitted. Don't forget to “enable Terms and Conditions” in configuration for the templates to get shown. You can enable it here: System > Configuration > Sales > Checkout > Checkout Options > Enable Terms and Conditions. To display the saved order comments you have to customize the templates where you like the comments to be shown (for security reasons don’t forget to escape the data with something like htmlspecialchars()):
// If there is an order object:
echo $_order->getBiebersdorfCustomerordercomment(); // If you only have the order-id (e.g. 11), you have to create an instance first:
$_order=Mage::getModel('sales/order')->load(11);
echo $_order->getBiebersdorfCustomerordercomment(); Email Templates (e.g. New Order Confirmation Template)To show the comment in the order confirmation emails, just add the following at a place of your choice in the order-mail-template at "System > Transactional Emails":
{{var order.getBiebersdorfCustomerordercomment()}}If you haven't allready, you need to create a new template (you can use "Load Template > New Order") and assign it to "New Order Confirmation Template" at "System > Configuration > Sales > Sales Emails > Order".
Changing Admin TemplatesFor changing your admin templates without modifying the original files, you will have to setup a new admin theme (highly recommended). Please take a look at this Thread about setting up a Custom Admin Theme, if you don't know how to do this.
BugsPlease report Bugs in the Forum for this Extension. Feel free to write a review and rate this extension.
Release History- 0.1.3
- 0.1.2
- 0.1.1
- 0.0.5
- 0.0.4
- Release Notes
-
Enable customers to write comments to their orders.
2012-02-06 04:05:45- Version number: 0.1.5
- Stability: Beta
- Compatibility: 1.1, 1.2, 1.3
This extension adds an EAV-Attribute to the order entity model so the customer can write a comment for the order. To get this extension work some changes in the template files are required! In the folder /app/code/community/Biebersdorf/CustomerOrderComment/design/ you will find template files as examples for the magento standard theme. Copy them to the right places of your design theme modification folder or change your existing template files. Please do not overwrite the original template files! Explaination for the needed changes in templates: You have to add a HTML textarea field in the file app/design/frontend/default/default/template/checkout/onepage/agreements.phtml. Place the new textarea inside the form (opening and closing form tags) to be sure the comment variable is submitted. Don't forget to “enable Terms and Conditions” in configuration for the template to get shown. You can enable it here: System > Configuration > Sales > Checkout > Checkout Options > Enable Terms and Conditions). To get the order comments visible you have to customize the templates where you like the comments to be shown (don’t forget to escape the data with something like htmlspecialchars()): This extension is still in development. To get a clean implementation the textarea for the input of the comment has to be moved out of the agreements-formular.
Enable customers to write comments to their orders.
2010-12-15 06:22:37- Version number: 0.1.4
- Stability: Beta
- Compatibility: 1.1, 1.2, 1.3
This extension adds an EAV-Attribute to the order entity model so the customer can write a comment for the order. To get this extension work some changes in the template files are required! In the folder /app/code/community/Biebersdorf/CustomerOrderComment/design/ you will find template files as examples for the magento standard theme. Copy them to the right places of your design theme modification folder or change your existing template files. Please do not overwrite the original template files! Explaination for the needed changes in templates: You have to add a HTML textarea field in the file app/design/frontend/default/default/template/checkout/onepage/agreements.phtml. Place the new textarea inside the form (opening and closing form tags) to be sure the comment variable is submitted. Don't forget to “enable Terms and Conditions” in configuration for the template to get shown. You can enable it here: System > Configuration > Sales > Checkout > Checkout Options > Enable Terms and Conditions). To get the order comments visible you have to customize the templates where you like the comments to be shown (don’t forget to escape the data with something like htmlspecialchars()): getBiebersdorfCustomerordercomment(); // If you only have the order-id (e.g. 11), you have to create an instance first: $_order = Mage::getModel('sales/order')->load(11); echo $_order->getBiebersdorfCustomerordercomment(); ?> This extension is still in development. To get a clean implementation the textarea for the input of the comment has to be moved out of the agreements-formular.
Enable customers to write comments to their orders.
2010-03-25 05:56:05- Version number: 0.1.3
- Stability: Beta
- Compatibility: 1.1, 1.2, 1.3
This extension adds an EAV-Attribute to the order entity model so the customer can write a comment for the order. To get this extension work some changes in the template files are required! In the folder /app/code/community/Biebersdorf/CustomerOrderComment/design/ you will find template files as examples for the magento standard theme. Copy them to the right places of your design theme modification folder or change your existing template files. Please do not overwrite the original template files! Explaination for the needed changes in templates: You have to add a HTML textarea field in the file app/design/frontend/default/default/template/checkout/onepage/agreements.phtml. Place the new textarea inside the form (opening and closing form tags) to be sure the comment variable is submitted. Don't forget to “enable Terms and Conditions” in configuration for the template to get shown. You can enable it here: System > Configuration > Sales > Checkout > Checkout Options > Enable Terms and Conditions). To get the order comments visible you have to customize the templates where you like the comments to be shown (don’t forget to escape the data with something like htmlspecialchars()): getBiebersdorfCustomerordercomment(); // If you only have the order-id (e.g. 11), you have to create an instance first: $_order = Mage::getModel('sales/order')->load(11); echo $_order->getBiebersdorfCustomerordercomment(); ?> This extension is still in development. To get a clean implementation the textarea for the input of the comment has to be moved out of the agreements-formular.
Enable customers to write comments to their orders.
2009-04-14 08:22:53- Version number: 0.1.2
- Stability: Beta
- Compatibility: 1.1, 1.2, 1.3
This extension adds an EAV-Attribute to the order entity model so the customer can write a comment for the order. To get this extension work some changes in the template files are required! In the folder /app/code/community/Biebersdorf/CustomerOrderComment/design/ you will find template files as examples for the magento standard theme. Copy them to the right places of your design theme modification folder or change your existing template files. Please do not overwrite the original template files! Explaination for the needed changes in templates: You have to add a HTML textarea field in the file app/design/frontend/default/default/template/checkout/onepage/agreements.phtml. Place the new textarea inside the form (opening and closing form tags) to be sure the comment variable is submitted. Don't forget to “enable Terms and Conditions” in configuration for the template to get shown. You can enable it here: System > Configuration > Sales > Checkout > Checkout Options > Enable Terms and Conditions). To get the order comments visible you have to customize the templates where you like the comments to be shown (don’t forget to escape the data with something like htmlspecialchars()): getBiebersdorfCustomerordercomment(); // If you only have the order-id (e.g. 11), you have to create an instance first: $_order = Mage::getModel('sales/order')->load(11); echo $_order->getBiebersdorfCustomerordercomment(); ?> This extension is still in development. To get a clean implementation the textarea for the input of the comment has to be moved out of the agreements-formular.
Enable customers to write comments to their orders.
2009-03-31 19:41:14- Version number: 0.1.1
- Stability: Beta
- Compatibility: 1.1, 1.2, 1.3
This extension adds an EAV-Attribute to the order entity model so the customer can write a comment for the order. To get this extension work some changes in the template files are required! In the folder /app/code/community/Biebersdorf/CustomerOrderComment/design/ you will find template files as examples for the magento standard theme. Copy them to the right places of your design theme modification folder or change your existing template files. Please do not overwrite the original template files! Explaination for the needed changes in templates: You have to add a HTML textarea field in the file app/design/frontend/default/default/template/checkout/onepage/agreements.phtml. Place the new textarea inside the form (opening and closing form tags) to be sure the comment variable is submitted. Don't forget to “enable Terms and Conditions” in configuration for the template to get shown. You can enable it here: System > Configuration > Sales > Checkout > Checkout Options > Enable Terms and Conditions). To get the order comments visible you have to customize the templates where you like the comments to be shown (don’t forget to escape the data with something like htmlspecialchars()): getBiebersdorfCustomerordercomment(); // If you only have the order-id (e.g. 11), you have to create an instance first: $_order = Mage::getModel('sales/order')->load(11); echo $_order->getBiebersdorfCustomerordercomment(); ?> This extension is still in development. To get a clean implementation the textarea for the input of the comment has to be moved out of the agreements-formular.
- User reviews (58)
-
Write a Review
- Get Help
-
Support for This Extension
The best place to start if you need help with a specific extension is to contact the developer. All Magento developers have both a contact email and a support email listed.
Magento Platform Support
If you need support for a Magento platform, there are different options for support depending on which Magento platform you are using. Below are links for specific platforms.
The Magento Extension Marketplace
Loading platform data and releases...