What is the ac_CustomFields table used for??

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

What is the ac_CustomFields table used for??

Post by heinscott » Thu Apr 30, 2009 11:52 am

I was curious as to the typical use for the ac_Customfields table...
I was looking around while I was trying to add some extra information to my category levels, and came across this table.
I am trying to add a field to my categories, such as "Definition". Would the CustomFields table work for this purpose??
So, I would essentially add:

TableName = "ac_Categories"
FieldName = "Definition"
FieldValue = "Whatever here..."
ForeignKeyId = 357 (<-- that is the category I am adding information to)
StoreId = 1

Would this be a good use of this table? I know that to retrieve these new values, then, I would have to use the LoadForCriteria...
Just wanted to make sure, though, that this was the purpose of the table before using it in this capacity.
(I'm just so sick of creating new DAL's)

Thanks for the help,

Scott

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: What is the ac_CustomFields table used for??

Post by mazhar » Fri May 01, 2009 5:07 am

Helpful posts
viewtopic.php?f=42&t=8684
viewtopic.php?f=42&t=8651

Also try following code templates that could help you automate code generation process
viewtopic.php?f=47&t=9530

Post Reply