thelia/force-phone-module
最新稳定版本:2.1.0
Composer 安装命令:
composer require thelia/force-phone-module
包简介
README 文档
README
This module sets the mobile phone number, the home phone number, both or one of them as required in the customer and address forms.
Installation
Since 1.2 need to be installed by Composer
Composer
Add it in your main Thelia composer.json file
composer require thelia/force-phone-module:~1.2
Manually (only for version < 1.2)
- Copy the module into
<thelia_root>/local/modules/directory and be sure that the name of the module is ForcePhone. - Activate it in your Thelia administration panel
Usage
Activate the module and the home phone number becomes required in the customer and address forms. Go to module configuration to select which phone numbers (home, mobile, both or one of them) should be required.
Affected pages :
- register
- create address
- update address
Other
Be sure to set proper translations for phone inputs' labels.
You can find translation for the mandatory input in your administration panel:
Configuration --> Translation --> Modules --> Set the phone input mandatory for the customer --> Core files
Translation for the second phone input is in:
Configuration --> Translation --> Thelia core
统计信息
- 总下载量: 7.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2015-12-30