What I gather from the buy.com page is a list of categories with dynamic subcategories.
If for now, all you want to do is copy what buy.com has, I'd suggest starting by the simplification of your SQL tables, whose structure should look like this:
Table_Name
Id
Merchant
Category
Sub_Category...