SQL for Options
I am not understanding how to do this from the recipe pdf file.
I am selling prints online and different prints have different sizes available. I have setup a table 'Sizes' that has:
SizeCatId to group a set of sizes for a print (1 = 8x10, 2= 8x10 & 16x20, etc.)
SizeDesc to give the text for the dropdown box to select which size.
SizePrice to give the price for that size print.
Within the items table I have a column called ItemSizes.
How would I write the SQL commands for the items and details pages so that based on the number in the ItemSizes column the rows from the sizes table will be returned to fill the dropdown box? (And if there is any trick to have this add the correct price to the cart when the add button is pressed)
Thanks