Hi!
I'm a beginner in Using .net .I saw your online demo and compared it with
your Free trial code.I want to buy Able Commerce 7.0 Shopping Cart.Pls Let
me know how to add a new fieldname:Address in the table and how to connect
the database in
http://ac7.ablecommerce.com/70008158843 ... fault.aspx,
and how to fetch it.I read the features ,yet i could'nt get a solution for
this.Please let me know .
Thanks,
Nisha
Able Commerce 7.0 Shopping Cart
Re: Able Commerce 7.0 Shopping Cart
Please make some clarification to your question. Are you asking that how to place some custom information along with the customer address? There could be two ways to solve this problemPls Let
me know how to add a new fieldname:Address in the table and how to connect
the database in
http://ac7.ablecommerce.com/70008158843 ... fault.aspx,
and how to fetch it.
1)- You modify the required table in database, add your new filed to the table. With this approach you need to write custom queries and some data access code to load and save the information in new filed.
2)- We need to find some way so that we can save this information using the standard ablecommerce code and database structure without making and database related customization. If we found some solution then this approach will save us from a lot of hard work. So the below suggested solution will focus on the second approach.
How to add custom information to an address?
The ac_Address table in AbleCommerce contains a field Nickname but this field is not used any where in website code. It means it is something that could be interfaced by user with a little effort. So you can make use of this field to put your custom information. With this approach all you need is to update the address information collector page and save the custom information in the field. With this solution you need two statements one for save and one for load. For example to save info in this field it will be something as below
Code: Select all
address.Nickname = StringHelper.StripHtml(CustomInfo.Text);
Code: Select all
CustomInfo.Text = address.Nickname;