Restrict customer delivery addresses count
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Restrict customer delivery addresses count
Is there a way to restrict the quantity of customer delivery addresses ? For example I want make that customer has possibility to add only one delivery address
And the same for billing address
And the same for billing address
Re: Restrict customer delivery addresses count
There can be only one billing address but you can configure to disallow adding a new one for the current order:
https://aimeos.org/docs/Configuration/C ... isable-new
This does also work for delivery addresses but you want to allow exactly one so you have to change that block in the template so always exactly one delivery address block is shown: https://github.com/aimeos/ai-client-htm ... #L164-L204
https://aimeos.org/docs/Configuration/C ... isable-new
This does also work for delivery addresses but you want to allow exactly one so you have to change that block in the template so always exactly one delivery address block is shown: https://github.com/aimeos/ai-client-htm ... #L164-L204
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star