mysql - Download Merchandise System -
hey system selling kits each kit compose of different products of them downloaded files. problem place products of each kit.
sample kit1 compose of game1, game2, game3, game4
product table
productid: 1 sku: name:kit100
where place game1, game2, game3, game4
according said,
- you want kit table
- you want product table
- and link them together, need kit_item or kit_product table itemize individual items/products within each kit.
to honest i'd name top-level entity customer buys (you called kit) product, , i'd name parts components.
products in normal business english, individually purchasable.
you make kit_product made of 0..* "component" products.
Comments
Post a Comment