Page 1 of 1

Question about inserting a new field / difficulty

Posted: Wed Jun 04, 2008 6:38 pm
by alkasber
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

Re: Question about inserting a new field / difficulty

Posted: Wed Jun 04, 2008 7:19 pm
by jmestep
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

Re: Question about inserting a new field / difficulty

Posted: Wed Jun 04, 2008 10:13 pm
by Logan Rhodehamel
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");