Restrict customer delivery addresses count

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
McWilliams124
Posts: 1
Joined: 18 Mar 2020, 09:11

Restrict customer delivery addresses count

Post by McWilliams124 » 18 Mar 2020, 09:14

Is there a way to restrict the quantity of customer delivery addresses ? For example I want make that customer has possibility to add only ttrockstars one delivery address

And the same for billing address
Last edited by McWilliams124 on 19 Mar 2020, 09:19, edited 1 time in total.

User avatar
aimeos
Administrator
Posts: 3787
Joined: 01 Jan 1970, 00:00

Re: Restrict customer delivery addresses count

Post by aimeos » 19 Mar 2020, 08:20

There can be only one billing address. To limit the number of delivery addresses, you can add a check in the template:
https://github.com/aimeos/ai-client-htm ... d.php#L164
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply