Hey all, I'm about to start coding an online store. I have one database full of various items (with basic info ie. title, format, and prices linked to them) and think it's best if I create another table for the main store, and join in item entries from the main item table when needed. The thing is, not all items will be present in the first table, and I won't always want the price included as it is in the first table (actually, it's in a second table, but it's complicated enough...). I also want to add in extra info (like condition, random comments, etc). So how does the following look?
=== Table 2 ====
Item ID (link to T1 item ID for details and price)
Item Name override (if there's no item ID in T1, ie. Item ID is blank)
Price Override (if I want to override the price from T1)
Condition 1 (case / box)
Condition 2 (sleeve / inserts)
Condition 3 (manual)
Condition 4 (disc / item)
Other Condition (anything that doesn't fit the above)
Comments (for random comentary for anything that needs a better description than just item title and condition)
Image (maybe, possibly, I seem to recall adding images to a database is horrendously hard, maybe just a link to one then, though keeping track of images that need to be present and those that dont (for sold out items) should be fun...)
I think that looks just about ok. Looks like I could possibly split out condition in to a seperate table, though doesn't really seem like enough to warrant it (it'll be literally a choice between 0 and 5 for each condition, relating specifically to the one product entry). I should probably google how to code a store... or just stick to eBay...