Project Home
Manuals
Contact Us
Download
Demo
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
AbanteCart v
1.4.1
is released.
Home
Help
Search
Calendar
Login
Register
AbanteCart Community
»
AbanteCart Development
»
Customization help
»
Extra Fields
« previous
next »
Print
Pages: [
1
]
Author
Topic: Extra Fields (Read 6804 times)
hgzica
Newbie
Posts: 6
Karma: +1/-0
Extra Fields
«
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?
Logged
eCommerce Core
Administrator
Hero Member
Posts: 1602
Karma: +93/-1
Re: Extra Fields
«
Reply #1 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
Logged
“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
Newbie
Posts: 6
Karma: +1/-0
Re: Extra Fields
«
Reply #2 on:
June 07, 2017, 03:12:33 PM »
Thanks @eCommerceCore
Logged
Print
Pages: [
1
]
« previous
next »
AbanteCart Community
»
AbanteCart Development
»
Customization help
»
Extra Fields
Powered by SMFPacks Social Login Mod