Page 1 of 1

Need more fields for Vendors

Posted: Thu Sep 03, 2009 10:27 am
by Mike718NY
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?

Re: Need more fields for Vendors

Posted: Wed Sep 09, 2009 9:01 am
by Mike718NY
>> Do I need the source code to do this?
I'm guessing Yes.

Re: Need more fields for Vendors

Posted: Wed Sep 09, 2009 11:03 am
by jmestep
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

Re: Need more fields for Vendors

Posted: Wed Sep 09, 2009 12:13 pm
by Mike718NY
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?

Re: Need more fields for Vendors

Posted: Thu Sep 10, 2009 9:54 am
by jmestep
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.