Hello, I'm working on an e-commerce site and I need to create product attributes that can be assigned to products. I'm only poking around in the dark as I'm not sure how it should be done but the following is what I have:
Product Table, ProductAttributes Table, ProductsWithAttributes Table.
- The product table just list the products.
- The ProductAttributes table allows the creation of reusable attributes like color, size, weight etc. (any number of attribute labels with a short decription - optional).
- The ProductsWithAttributes table list the ProductID, AttributeID, AttributeValue, and AttributePrice.
Am I going in the right direction with this? I need to design a flexible Attribute system that can be applicable no matter what the store sells. Any ideas or suggestions are welcome.
Thank you!