magezil/module-customer-block

Custom module restricts the customer to login, purchase order, add to wishlist, add to compare list and review products individually in Magento 2.

1.0.0 2020-10-12 19:18 UTC

This package is auto-updated.

Last update: 2024-04-13 20:13:26 UTC


README

Installation

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

  composer require magezil/module-customer-block

Requisitos do Sistema

Requires at least: 2.4.0

Tested up to: 2.4.0

Requires PHP: 7.4

Stable tag: 1.1

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.