perfect-code/module-customer-address-limit

Limits the number of possible number addresses to be created by customer.

1.0.0 2021-03-07 14:44 UTC

This package is auto-updated.

Last update: 2024-12-07 23:33:40 UTC


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)

Address Limitation

Stores Configuration.

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