close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Product Options implementation

Thread began 7/25/2010 12:34 pm by victor405909 | Last modified 9/15/2010 11:14 am by victor405909 | 3722 views | 26 replies

victor405909

HI,
I have been having a bit of trouble trying to get the right sql statement to bring up correct options for specific products.

I am working on a fashion site. When a product id is selected I want the page to filter to display the correct options from the recordset.

Can someone please advised me.

So far I have products and options in their own tables:

Products (table)
--------------------------------------------------------------------------------------------
ProductID int(11) auto_increment primary key,
ProductName varchar(50)
etc



TShirt (table) option
---------------------------------------------------------------------------------------------
ts_id int(11) auto_increment primary key,
tsSIZE varchar(20) [this is for actual size e.g. small, medium, large, x large.]
ProductID int(11) [this is foreign key for product ids]


DressSize (table) option
----------------------------------------------------------------------------------------------
ds_id int(11) auto_increment primary key,
drSIZE varchar(20) [this is for actual size e.g. size 4, size 6, size 8, size 10.]
ProductID int(11) [this is foreign key for product ids]

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...