定制 sbodak/magento2-b2b-disable-customer-registration 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sbodak/magento2-b2b-disable-customer-registration

最新稳定版本:2.0.0

Composer 安装命令:

composer require sbodak/magento2-b2b-disable-customer-registration

包简介

This extension allows you to disable customer registration in your Magento 2.

README 文档

README

Overview

This module enables the possibility to disable customer registration on the frontend. It is particularly useful for B2B stores where customers should not be able to register by themselves. The extension removes the link to the registration page and hides the registration form on the login page.

Compatibility

Module version Magento version PHP version
2.x 2.4.8 8.2, 8.3, 8.4
1.x 2.1.x – 2.3.x 7.0, 7.1, 8.1

Requirements

  • Magento Open Source / Adobe Commerce 2.4.8
  • PHP 8.2, 8.3, or 8.4

Installation

composer require sbodak/magento2-b2b-disable-customer-registration
php bin/magento module:enable Bodak_DisableRegistration
php bin/magento setup:upgrade
php bin/magento cache:clean

Configuration

  1. Go to the Magento admin panel
  2. Navigate to Stores > Configuration > Customers > Customer Configuration
  3. Under the Create New Account Options tab, find the Disable frontend customer registration option
  4. Set it to Yes to disable registration

Admin configuration

Module configuration - administration panel

Frontend result

Remove registration form

Development

Running unit tests

composer install
vendor/bin/phpunit

Uninstall

php bin/magento module:disable Bodak_DisableRegistration
composer remove sbodak/magento2-b2b-disable-customer-registration

Changelog

See CHANGELOG.md for a full history of changes.

License

MIT License

统计信息

  • 总下载量: 15.69k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 14
  • Watchers: 2
  • Forks: 15
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-12