Add mobile no. in Address

Help for integrating the Laravel package
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!
User avatar
VirtualSpy
Posts: 86
Joined: 05 Jul 2022, 07:55

Add mobile no. in Address

Post by VirtualSpy » 27 Sep 2022, 05:17

Laravel version 9.22.1 , Aimeos version 2022.07.2 and PHP version 8.1.3 (Win)

I modified the migration of mshop_order_base_address table for adding mobile number in both address(billing and delivery),
but i don't understand it's way to store data in table from it's template......please guide me to implement template for add mobile number in addresses

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

Re: Add mobile no. in Address

Post by aimeos » 28 Sep 2022, 10:58

You can find the docs for extending the database and managers here to store new data fields:
https://aimeos.org/docs/latest/models/extend-managers/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
VirtualSpy
Posts: 86
Joined: 05 Jul 2022, 07:55

Re: Add mobile no. in Address

Post by VirtualSpy » 27 Oct 2022, 05:25

aimeos wrote: 28 Sep 2022, 10:58 You can find the docs for extending the database and managers here to store new data fields:
https://aimeos.org/docs/latest/models/extend-managers/
i removed my migration of mobile no. and I just config for mandatory fields of billing and delivery address and added there telephone field and then i just config for translation for showing telephone to mobile no.

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

Re: Add mobile no. in Address

Post by aimeos » 28 Oct 2022, 09:44

You need the migration for adding the field nevertheless as the decorator only makes the new column available to the manager:
https://aimeos.org/docs/latest/models/e ... base-setup
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply