Ok, so I've recently been assigned the task of adding some extra features to our in house ecommerce platform. My brief was as follows - "allow users to optionally add their own products attributes, unlimited in number for any product. Attibutes may or may not change the final product price. The admin backend must remain clean and easy to use".
I'd like people to basically critique this and suggest downfalls to my proposed structure - download here (png file)
Some sample data for each table:
attribute
1 - Size
2 - Colour
attribute_value
100 - 2 - Gold
101 - 2 - Red
102 - 1 - XXL
attribute_product
89 - 102 - 5.99
product
1 - Widget - 55.99
At some point I'd like to include functionality to accomodate stock levels for combinations of attributes - but that's for another day
I'd like people to basically critique this and suggest downfalls to my proposed structure - download here (png file)
Some sample data for each table:
attribute
1 - Size
2 - Colour
attribute_value
100 - 2 - Gold
101 - 2 - Red
102 - 1 - XXL
attribute_product
89 - 102 - 5.99
product
1 - Widget - 55.99
At some point I'd like to include functionality to accomodate stock levels for combinations of attributes - but that's for another day
