Custom fields for users

This forum is where we'll mirror posts that are of value to the community so they may be more easily found.
Post Reply
User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Custom fields for users

Post by Katie » Wed May 14, 2008 8:23 am

Request: custom fields that can be used for a user's profile.

Use: Merchant could store customer information for a user that only the merchant would update on the user's/customer's profile. ..
ie.. an account number, special note, cross-reference to another user, etc.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Custom fields for users

Post by Logan Rhodehamel » Wed May 14, 2008 9:59 am

There is a User.Settings property, which connects to a UserSettingsCollection class. The data here is persisted to the database and associated with the user. It would be the natural place for this kind of data.

We (or someone) would just have to build some admin UI to access and work with this field.
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

User avatar
m_plugables
Commander (CMDR)
Commander (CMDR)
Posts: 149
Joined: Tue Mar 11, 2008 12:44 am
Contact:

Re: Custom fields for users

Post by m_plugables » Sat May 24, 2008 8:35 am

This is a sample code how to put the custom field support for user on the Merchant side. I followed the guide line provided by the logan. The attached zipped file contains the Admin/People/Users/EditUser.aspx file . You can use it and extend the code for more fields. Currently i just wrote the code for only one custom field named special note.
Image
Visit the links below to Download Plugins for your AC7 Store
http://www.plugables.com
http://blog.plugables.com

Post Reply