workwiththomas / module-manage-customer-password
Magento 2 发送欢迎和重置密码邮件给所有客户的程序
1.0.0
2024-03-02 16:23 UTC
This package is auto-updated.
Last update: 2024-09-05 02:46:19 UTC
README
workwiththomas/module-manage-customer-password
Magento 2 客户密码,在管理后台重置客户密码,向客户发送重置密码邮件
捐赠
主要功能
- 在后台编辑/添加客户时更改客户密码
- 在管理网格中批量重置客户密码
- 命令行工具重置密码并发送邮件给客户
- 记录客户密码更改。
安装
类型 1: Zip 文件
- 将 zip 文件解压到
app/code/Thomas
- 运行
php bin/magento module:enable Thomas_CustomerPassword
启用模块 - 运行
php bin/magento setup:upgrade --keep-generated
应用数据库更新 - 运行
php bin/magento cache:flush
清除缓存
类型 2: Composer
- 使模块在 composer 存储库中可用,例如
- 私有存储库
repo.magento.com
- 公共存储库
packagist.org
- 公共 GitHub 存储库作为 vcs
- 私有存储库
- 通过运行
composer config repositories.repo.magento.com composer https://repo.magento.com/
将 composer 存储库添加到配置中 - 通过运行
composer require workwiththomas/module-manage-customer-password
安装模块 composer - 运行
php bin/magento module:enable Thomas_CustomerPassword
启用模块 - 运行
php bin/magento setup:upgrade --keep-generated
应用数据库更新 - 运行
php bin/magento cache:flush
清除缓存
配置
规格
属性
如何使用
- 控制台命令工具
-
发送带重置密码的欢迎邮件
- 按限制向所有客户发送邮件
运行
bin/magento thomas:customer-password:reset-password --limit=100
- 运行向特定客户电子邮件地址发送邮件
运行
bin/magento thomas:customer-password:reset-password --emails="customer1@gmail.com,customer2@gmail.com"