trellis/module-checkout-validation
Composer 安装命令:
composer require trellis/module-checkout-validation
包简介
Makes several small modifications to the native Magento checkout experience.
README 文档
README
Brought to you and maintained by Trellis Commerce - A full-service eCommerce agency based in Boston, MA.
Trellis Checkout Validation
This extension makes several small modifications to the native Magento checkout experience.
- Adds a set of form validation rules to the shipping and billing steps of checkout.
- Respect max/min quantity on configurable products.
- Removes discount code from cart and checkout.
Installation Instructions
Follow the instructions to install this extension using Composer.
composer require trellis/module-checkout-validation
bin/magento module:enable --clear-static-content Trellis_CheckoutValidation
bin/magento setup:upgrade
bin/magento cache:flush
Configuration
Configuration settings for this extension are found under Stores > Configuration > Trellis > Checkout Validation
- "Enabled?" - Yes/no configuration setting that determines if the additional shipping and billing address
validation rules will apply.
- See rules below for details.
- "Remove Apply Discount Code" - Yes/no configuration setting that determines if the discount code input form is visible on the cart and during checkout.
- Max/Min quantity settings on configurable products are now respected. (These are cumulative for all child products.)
Shipping Address Validation Rules
- Street is required and each street can have max 40 characters each
- First Name is required and can have 20 characters max
- Last Name is required and can have 20 characters max
- Company can have 40 characters max
- City is required can have 40 characters max
- Phone is required
Billing Address Validation Rules
- Street is required and each street can have max 40 characters each
- First Name is required and can have 20 characters max
- Last Name is required and can have 20 characters max
- Company can have 40 characters max
- City is required can have 40 characters max
- Phone is required
- Postal Code is required
trellis/module-checkout-validation 适用场景与选型建议
trellis/module-checkout-validation 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3 次下载、GitHub Stars 达 3, 最近一次更新时间为 2022 年 06 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 trellis/module-checkout-validation 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 trellis/module-checkout-validation 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-08