Page 1 of 1

Add mobile no. in Address

Posted: 27 Sep 2022, 05:17
by VirtualSpy
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

Re: Add mobile no. in Address

Posted: 28 Sep 2022, 10:58
by aimeos
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/

Re: Add mobile no. in Address

Posted: 27 Oct 2022, 05:25
by VirtualSpy
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.

Re: Add mobile no. in Address

Posted: 28 Oct 2022, 09:44
by aimeos
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