Which table holds the link between product & category?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
SteveHiner
Lieutenant (LT)
Lieutenant (LT)
Posts: 58
Joined: Thu Jun 21, 2007 8:27 pm

Which table holds the link between product & category?

Post by SteveHiner » Mon May 11, 2009 9:47 am

Due to some change I made with my host the AbleCommerce database logins and permissions got all messed up. I was having a heck of a time getting them fixed so I decided to rebuild the database (we're still in development so it wasn't a horribly dangerous decision). I have been migrating the data from the old database (which I saved) to the new database. Most of the tables are pretty obvious except I can't figure out what links a product to a category. I have the categories loaded and the products loaded but all the products are orphans. I thought I'd find a ProductCategory table that would link ProductId with CategoryId but there doesn't seem to be a table that contains that info.

Can anyone help me? Which table links the two?

I've been exploring the database relationships and I just haven't seen a link between products and categories anywhere, not even an indirect link. I must be missing something.
Steve

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

Re: Which table holds the link between product & category?

Post by mazhar » Mon May 11, 2009 10:05 am

ac_CatalogNodes is doing the job of linking products to category.

SteveHiner
Lieutenant (LT)
Lieutenant (LT)
Posts: 58
Joined: Thu Jun 21, 2007 8:27 pm

Re: Which table holds the link between product & category?

Post by SteveHiner » Thu May 21, 2009 2:53 pm

Of course you are right. I had copied the data into that table but it looks like only part of it was copied. I changed how I am migrating the data and now the products show up in the categories like they should.

Thanks for the help! :D
Steve

Post Reply