N
nicholas
I already posted this once...but still got no solution, so here's my
problem, explained in another way:
When you want to configure a computer on www.dell.com you have lot's of
option groups with lots of options.
You can for example choose for the Computer Model 1 and than specify these
optiongroups:
processor : 1Ghz - 2Ghz - ...
HD: 40GB - 60 GB - ...
Monitor : TFT 17" - 19" - ...
etc.
All option groups are represented with a dropdown.
The most important thing to note is that not all products have the same
optiongroups.
So sometimes there are, let's say, 10 dropdowns and sometimes more or less
or none at all.
So, I want to create this too on a ASP.NET in VB.NET.
I have products in a table: tbl_products
I have options in a table: tbl_options
The tbl_options contains these fields: optionID, optionparentID, productID,
optionname
Ex, few rows out of the options table
1,0,66,color
2,1,66,white
3,1,66,blue
4,1,66,red
5,0,66,size
6,5,66,small
7,5,66,medium
8,5,66,large
9,0,67,size
10,9,67,17inch
11,9,67,19inch
in this example there are options for 2 products:
product with ID = 66 has
dropdown for color: white, blue, red
dropdown for size: small, medium, large
product with ID = 67 has
dropdown for size: 17inch, 19inch
That's how I designed the option table, but I can change it if someone has a
better idea., but I don't think it's bad.
So, as you can see, all option dropdownboxes for a product should be created
and populated dynamically when the user opens the product-detail-page to add
a product to his shopping cart.
I really hope someone can help me with this and I think it's usefull for
everyone creating an e-commerce.
THX a lot,
Nic
problem, explained in another way:
When you want to configure a computer on www.dell.com you have lot's of
option groups with lots of options.
You can for example choose for the Computer Model 1 and than specify these
optiongroups:
processor : 1Ghz - 2Ghz - ...
HD: 40GB - 60 GB - ...
Monitor : TFT 17" - 19" - ...
etc.
All option groups are represented with a dropdown.
The most important thing to note is that not all products have the same
optiongroups.
So sometimes there are, let's say, 10 dropdowns and sometimes more or less
or none at all.
So, I want to create this too on a ASP.NET in VB.NET.
I have products in a table: tbl_products
I have options in a table: tbl_options
The tbl_options contains these fields: optionID, optionparentID, productID,
optionname
Ex, few rows out of the options table
1,0,66,color
2,1,66,white
3,1,66,blue
4,1,66,red
5,0,66,size
6,5,66,small
7,5,66,medium
8,5,66,large
9,0,67,size
10,9,67,17inch
11,9,67,19inch
in this example there are options for 2 products:
product with ID = 66 has
dropdown for color: white, blue, red
dropdown for size: small, medium, large
product with ID = 67 has
dropdown for size: 17inch, 19inch
That's how I designed the option table, but I can change it if someone has a
better idea., but I don't think it's bad.
So, as you can see, all option dropdownboxes for a product should be created
and populated dynamically when the user opens the product-detail-page to add
a product to his shopping cart.
I really hope someone can help me with this and I think it's usefull for
everyone creating an e-commerce.
THX a lot,
Nic