close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Simple eCart Setup w/Color Option

Thread began 5/19/2010 3:02 pm by bledford407228 | Last modified 5/25/2010 1:04 pm by bledford407228 | 2375 views | 5 replies

bledford407228

Ok... I don't know Php outside what Dreamweaver will automatically generate for me.
Sooo... I"m going to need a little more hand holding.

Below is the code I already have within the recordset (based on the "Product Options w/eCart" tutorial)

Here are the names of the 3 columns I crated within the options table.
CategoryID (this the column I'm using to filter which colors should be displayed for that product. The column should contain the number 1 for large handbag, or 2 for small handbag.)

LargeBagList: (This is the order for how to the corresponding colors should be listed) I need this column to be sorted in an ascending order.

SmallBagList: (This column is the same as the LargeBagList. But contains the list order for the Colors available the small handbag.) I also need this sorted in an ascending order.

So what I'm guess you are telling me to do is to add the filter and sort options by hand coding it. This is where I'm going to need the help. What do I need to add to the code below to in order to filter by the CategoryID column with a value that contains the product number (1 or 2 based on the product page)

Then I will need the LargeBagList column sorted in an ascending order.



(Again this is the code I already have... what do I need to add to it?)

SELECT productoptions.OptionPriceincrement, productoptions.ProductOptionID, options.OptionName, options.OptionGroupID, optiongroups.OptionGroupName
FROM options INNER JOIN productoptions ON options.OptionID = productoptions.ProductOptionID INNER JOIN optiongroups ON options.OptionGroupID = optiongroups.OptionGroupID
WHERE optiongroups.OptionGroupName = 'color' AND productoptions.ProductID = paramItem


Thanks!

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...