perfect-code / module-customer-address-limit
Limits the number of possible number addresses to be created by customer.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ^7.4
- magento/magento-composer-installer: *
README
Restricts the number of possible customer address to be created.
Functionality.
Personal Account. Address Grid.
The button is blocked. The notification message is shown. Additional verification on the backend side. (Original template wasn't replaced)
Stores Configuration.
ENV variables.
To configure max number you may use following ENV variable:
CONFIG__DEFAULT__CUSTOMER__ADDRESS__MAX_NUMBER=5
Endpoints.
GET /V1/customers/me/addresses/canCreate
Additional info.
Covered with Unit and Api-functional test