boldcommerce/magento2-ordercomments
Composer 安装命令:
composer require boldcommerce/magento2-ordercomments
包简介
Magento 2 Module to add a comment field above the place order button in the checkout
关键字:
README 文档
README
Description
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.
Additionally, there is also the option of showing the comment field on the cart page.
Store owners can then see these comments in the backend on the order grid and on the order view page.
Checkout view
Admin panel
Emails
Add the "order comment" to new order emails by referencing the code here.
Configuration
There are several configuration options for this extension, which can be found at STORES > Configuration > SALES > Sales > Order Comments.
Installation
composer require boldcommerce/magento2-ordercomments
php bin/magento module:enable Bold_OrderComment
php bin/magento setup:upgrade
Changelog
1.8.5
- Third party contribution: PHP 8.1 bugfix
Deprecated Functionality: trim(): Passing null to parameterwhen viewing an order in the my orders section that doesn't have an order comment #72
1.8.4
- Third party contribution: PHP 8.1 support #71
- Third party contribution: Spanish translations #70
- Third party contribution: Thai translations #67
1.8.2
- Third party contribution: Bengali translations #65
1.8.1
- fix bug introduced with 1.8.0 in checkout
Cannot read property 'length' of null
1.8.0
- new feature: ability to show the comment field on the cart page based on a admin configuration setting.
1.7.1
- upgrade tests to phpunit 6
1.7.0
- Added website scope configuration setting to toggle visibility of comment field. #59
1.6.5
- Third party contribution: PHP 7.4 support added in composer #55
- Third party contribution: Japanese translations added #52
- Third party contribution: Fix typo in Italian translation #51
- Third party contribution: Hungarian Translations added #50
- Third party contribution: New sections added in readme #48
1.6.4
- Third party contribution: php 7.3 support in composer #45
- Third party contribution: French translations #43
- Third party contribution: Polish translations #40
- Third party contribution: Czech translations #39
1.6.3
- Third party contribution: move form selector in order-comment-validator.js to a separate method to improve extensibility through mixins #36
1.6.2
- Third party contribution: fix duplicate comment field on admin sales invoice view #31
- Third party contribution: fix typo and added some code improvements to the install script #30
1.6.1
- Third party contribution: Enabled PHP 7.2 support #29
1.6.0
- Third party contribution: Hebrew translations #28
1.5.0
- Third party contribution: Form selector fallback for compatability with external changes that move the comment field #24
1.4.1
- Third party contribution: Fixed it_IT translation csv #20
1.4.0
- Third party contribution: Made the comment available in the order list web api
V1/orders#18
1.3.0
- UX changes to the max comment length feature #15
- Made the comment available in the order detail web api
V1/orders/{id}#15
1.2.0
- added setting to change initial collapse state of comment field (closed/opened/no collapse) #14
1.1.4
- updated composer.json to allow PHP 7.1
1.1.3
1.1.2
- Fix for fatal error on admin order view page when used with some other extensions #9
1.1.1
- Third party contribution: Swedish translations and fixes in German translations #5
1.1.0
- Third party contribution: German translations #2
- Third party contribution: Optional configuration for maximum comment length #3
- Third party contribution: Show order comments in customer account #4
1.0.0
initial version
Technical
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.
Uninstall
If you installed this module through composer, then you can run php bin/magento module:uninstall Bold_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
exit with ctrl+c and run
composer update
php bin/magento maintenance:disable
Alternatively you can manually remove the extension and remove the column bold_order_comment from the tables
- quote
- sales_order
- sales_order_grid
License
MIT
boldcommerce/magento2-ordercomments 适用场景与选型建议
boldcommerce/magento2-ordercomments 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 761.19k 次下载、GitHub Stars 达 171, 最近一次更新时间为 2017 年 03 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「magento2」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 boldcommerce/magento2-ordercomments 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 boldcommerce/magento2-ordercomments 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 boldcommerce/magento2-ordercomments 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Russian Language Pack for Magento 2
DPD Magento2 Shipping extension
Auto generate related products for Magento 2
This is a module that extends Magento2 API to get list of TOP products.
Smile Retailer Admin
Demo Module for Custom Logger with Magento 2.
统计信息
- 总下载量: 761.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 171
- 点击次数: 30
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-03


