Need more fields for Vendors

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Need more fields for Vendors

Post by Mike718NY » Thu Sep 03, 2009 10:27 am

I need to add more fields to the Vendor page: Administration > People > Vendors > Edit Vendor

Right now, there are just 2 fields, Name, and Email Address.
I'm surprised there are not more fields like fax, phone, etc.

I would have to add the fields to the Vendor table first.

But how do I change the Edit Vendor screen to show those new fields? Do I need the source code to do this?

Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Re: Need more fields for Vendors

Post by Mike718NY » Wed Sep 09, 2009 9:01 am

>> Do I need the source code to do this?
I'm guessing Yes.

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

Re: Need more fields for Vendors

Post by jmestep » Wed Sep 09, 2009 11:03 am

No, you wouldn't need it for something like this. I'm not sure you can add the extra data to emails, though.
Here is help from Able's wiki on how you can access your own tables and fields.
http://wiki.ablecommerce.com/index.php/Custom_Queries
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

Mike718NY
Commodore (COMO)
Commodore (COMO)
Posts: 485
Joined: Wed Jun 18, 2008 5:24 pm

Re: Need more fields for Vendors

Post by Mike718NY » Wed Sep 09, 2009 12:13 pm

But I guess it would be better and eventually easier to modify
the Classes in the Source Code (added these fields that I added to the table)
so I can access them in the aspx.cs pages directly.

I also need to add fields to the Products, OrderDetail, and Orders table so
I guess I'm just better of working with the Source Code.

Has anybody worked with the Source Code and is it easy to do?

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

Re: Need more fields for Vendors

Post by jmestep » Thu Sep 10, 2009 9:54 am

I've worked with the source code and I wouldn't make any changes to it. It might cause a problem with upgrades in the future. What I do is extract some code from the source code and make changes and use the new code.
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

Post Reply