Totally Zenned
- Join Date:
- Feb 2011
- Location:
- Lumberton, TX
- Posts:
- 636
- Plugin Contributions:
- 0
Attributes and their place in the DB
I have been examining the database tables in order to understand completely how products in an order are related to their attributes.
A bit o prep for the question...if an order were to contain the following [model] - [Option1][Option1 Value] [Option2][Option2 Value] with three different combinations...
Product 1 - Color: Red Size: Medium
Product 1 - Color:Blue Size: Medium
Product 1 - Color: Green Size: Medium
Will there be three individual db entries for the same model number in the orders_products table? I do not see where anything says "yes" but it is the only way I can see how the orders_products_attributes table can get a link back to a specific line item in the order.