thelia/customer-birth-date-module
最新稳定版本:1.2.2
Composer 安装命令:
composer require thelia/customer-birth-date-module
包简介
README 文档
README
Add a date of birth input in customers' forms
Installation
Manually
- Copy the module into
<thelia_root>/local/modules/directory and be sure that the name of the module is CustomerBirthDate. - Activate it in your thelia administration panel
Composer
Add it in your main thelia composer.json file
composer require thelia/customer-birth-date-module:~1.1
Usage
Once activated, inputs asking for customer's birth date appear:
- in the customer register page
- in the customer update account page
- in the admin 'create customer' form
- in the admin 'customer' page
Loop
customerbirthdate
Input arguments
| Argument | Description |
|---|---|
| id | The customer id you want to diplay the date of birth |
Output arguments
| Variable | Description |
|---|---|
| $CUSTOMER_ID | The ID of the customer |
| $BIRTHDATE | The date of birth of the customer. Format: yyyy-mm-dd |
### Exemple
{loop type="customerbirthdate" name="birth_date"}
Customer ID: {$CUSTOMER_ID} | Date of birth : {$BIRTHDATE}
{/loop}统计信息
- 总下载量: 130
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2015-10-09