Question about inserting a new field / difficulty

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
alkasber
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 36
Joined: Thu May 15, 2008 2:50 pm
Location: Brazil

Question about inserting a new field / difficulty

Post by alkasber » Wed Jun 04, 2008 6:38 pm

Hello,

I am initiating a project of modification of the Ablecommerce to be able to function here in Brazil. I want to know the difficulty to insert new fields in some pages.
For example, to insert some new fields in the customers registration page.

A more direct question, what kind of modifications would be very difficult with the avaiable source code?

Thanks

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Question about inserting a new field / difficulty

Post by jmestep » Wed Jun 04, 2008 7:19 pm

That wouldn't be a difficult modification, but you will have to refer to those fields with a different method since they aren't part of Able objects. Able has put some examples on the wiki
http://wiki.ablecommerce.com/index.php/ ... cess_Layer
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

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

Re: Question about inserting a new field / difficulty

Post by Logan Rhodehamel » Wed Jun 04, 2008 10:13 pm

There is also a custom fields collection for user records.

Code: Select all

UserSettingCollection userSettings = UserSettingDataSource.LoadForUser(Token.Instance.UserId);
userSettings.SetValueByKey("SOMEFIELD", "SOMEVALUE");
userSettings.Save();
string myValue = userSettings.GetValueByKey("SOMEFIELD");
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.

Post Reply