lillik/module-disable-registration

Magento 2 禁用注册

1.0.0 2020-05-30 20:26 UTC

This package is auto-updated.

Last update: 2024-08-29 05:30:54 UTC


README

介绍

《禁用注册》 Magento 2 扩展允许商店管理员禁用商店中客户注册的功能。

alt text

该扩展允许您在商店中将客户 注册 按钮替换为带消息的 联系我们 按钮。

该扩展能为您的商店做什么?

禁用客户注册,并移除客户注册表单。

alt text

将客户注册表单替换为 联系我们 按钮。

alt text

功能

  • 禁用客户注册表单。
  • 支持多站商店。
  • 禁用直接访问商店中创建账户的URL。
  • 在商店中将客户的 注册 按钮替换为 联系我们 按钮。

安装

安装 lillik/module-disable-registration 的首选方法是通过 Composer。只需将 lillik/module-disable-registration 添加为依赖项

composer require lillik/module-disable-registration

安装并启用模块

php bin/magento module:enable Lillik_DisableRegistration
php bin/magento setup:upgrade --keep-generated
php bin/magento setup:di:compile
php bin/magento cache:clean

配置

Stores -> Configuration -> Customer -> Customer Configuration -> Create New Account Options

alt text

贡献

如果您有任何问题,请 联系我 或在 GitHub 的 问题追踪器 中打开错误报告。

许可证

代码根据 Apache-2.0 许可证 许可。

待办事项