They will have different prices, right?
I think you have to treat them as different products using "product_id"+"options_id", to track the inventory and to assign different price to the variations.
If the clothing is your major or only inventory. And most of your products will have this kind options. Then it will be easy to make the decision.
I did it in another project.
For example, as usual, your product database will have tables of "product_categories", "products"
and the "products" will have the price and inventory fields.
But in your case,
You will have
"product_categories", "products", "options", "option_categories", "price_and_inventory"
the changes are
1) "products" will not hold the price, inventory information. "price_and_inventory" will hold the price and inventory information identify by "products_id" and "options_id".
2) "options_categories" table will hold the options categories you will use
id name
1 size
2 width
3 color
4 ..
3) "options" table will have fields
id, options_cateories_id, product_id, options_name
1, 1, 101, size 1
Meaning, product 101, the option is for the size and it is "size 1".
And in all your estore codes, in the past, where you use the product_id, now you will use "product_id" and "options_id" together to identify the product.
My current project is we use the same price, we don't have to track the inventory, then do I still need this kind approach? The client want it to be simple. That is what I am debating now.
How zen-cart or oscommerce handle this? anyone know?