承接 viraxpress/restrict-registration 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

viraxpress/restrict-registration

最新稳定版本:1.0.0

Composer 安装命令:

composer require viraxpress/restrict-registration

包简介

Restrict Registration for ViraXpress

README 文档

README

Magento 2 extension to block customer account creation by email domain or IP address.

Description

ViraXpress_RestrictRegistration adds registration restrictions for Magento 2 stores by preventing new customer account creation when the registering email matches a blocked domain or when the request originates from a blocked IP address.

The extension supports backend configuration for both restriction types, including custom error messages shown to users when registration is denied.

Features

  • Block customer registration by email domain.
  • Block customer registration by IP address.
  • Configure custom error messages for each restriction.
  • Admin UI fields for managing multiple restricted domains and IP addresses.
  • Works for both standard frontend registration and API-based account creation.

Compatibility

-- Magento: 2.4.x

Installation

  1. Install the extension via Composer:

    composer require viraxpress/restrict-registration
  2. Run the following commands from your Magento root directory:

    php bin/magento module:enable ViraXpress_RestrictRegistration
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento cache:flush
    
  3. In the Magento admin, go to Stores > Configuration and locate the ViraXpress tab.

  4. Open Restrict Registration.

  5. Enable and configure either or both of the following groups:

    • Restrict Registration For Email Domains
    • Restrict Registration For Customer IP Address
  6. Save configuration.

Configuration

  • Enable To Email Restrict: enable or disable email domain restrictions.
  • Email Domains To Restrict: add blocked email domains (example: qq.com).
  • Message to Display: optional custom error message for blocked email domains.
  • Enable To Customer IP Address Restrict: enable or disable IP address restrictions.
  • Customer IP Address Restrict: add blocked IP addresses (example: 104.56.34.134).
  • Message to Display: optional custom error message for blocked IP addresses.

Support

For support, please contact ViraXpress at https://www.viraxpress.com or refer to the license agreement.

License

This extension is licensed under the ViraXpress license agreement. See https://www.viraxpress.com/license for details.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-06-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固