AbanteCart Community

AbanteCart Development => Customization help => Topic started by: hgzica on June 06, 2017, 10:24:57 AM

Title: Extra Fields
Post by: hgzica on June 06, 2017, 10:24:57 AM
Hello!

I'm creating an extension to append fields to address.
Where it is advisable to save this extra information:
Adding a column to the table "addresses" or in a global table or should I create a specific table to save this information?
Title: Re: Extra Fields
Post by: eCommerce Core on June 07, 2017, 09:48:55 AM
There is no extra fields for address table. You just need to alter table `ac_addresses` and add fields what you need.

Add this to install.sql file. Also include uninstall.sql to clean up.

http://docs.abantecart.com/pages/developer/extension_dev.html#install
Title: Re: Extra Fields
Post by: hgzica on June 07, 2017, 03:12:33 PM
Thanks @eCommerceCore