Skip to content
Lucas Teixeira dos Santos Santana edited this page Oct 12, 2020 · 6 revisions

Installation

To download the module by composer, execute this code bellow.

  composer require magezil/module-customer-block

Requisitos do Sistema

Requires at least: 2.O

Tested up to: 2.3

Requires PHP: 7.0

Stable tag: 1.0

Licenses: OSL-3.0/AFL-3.0


Magento Admin

This module adds attributes that may or may not block customers individually for the following functionalities:

  • Block customer to login
  • Block customer to purchase order
  • Block customer to add items in wishlist
  • Block customer to add items in comparison list
  • Block customer to review products

ScreenShot

To enable this module, follow these steps:

  • Step 1: Magento admin --> Stores -> Settings -> Configurations
  • Step 2: Tab Magezil --> Section Block Customer --> Group Configurações Gerais
  • Step 3: Enable Module = Sim

ScreenShot

Block

To block some customer functionality, follow these steps below:

  • Step 1: Magento admin --> Customers --> All Customers --> Customer
  • Step 2: Account Information --> Select attribute
  • Step 3: Yes/No

Default Value

This modules provides some settings in admin to set the default values in customer register.

  • Customer is Blocked: Will all customers, when they register, be able to login?
  • Customer Can Purchase: Will all customers, when they register, be able to purchase order?
  • Customer Has Wishlist: Will all customers, when they register, be able to add to wishlist?
  • Customer Has Compare List: Will all customers, when they register, be able to add to comparison list?
  • Customer Can Review: Will all customers, when they register, be able to review products?

ScreenShot

For more information see the repository Wiki.

Clone this wiki locally