News:

AbanteCart v1.4.2 is released.

Main Menu
support

Extra Fields

Started by hgzica, June 06, 2017, 10:24:57 AM

Previous topic - Next topic

hgzica

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?

eCommerce Core

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
"If you're in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent."
― Warren Buffett

hgzica

Thanks @eCommerceCore

Forum Rules Code of conduct
AbanteCart.com 2010 -