close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Linking Multi Options To Add To Cart Button

Thread began 3/11/2010 6:53 am by SaladoGuy | Last modified 3/17/2010 2:54 pm by SaladoGuy | 2596 views | 8 replies

Eric Mittman

You will be making this update on your product page, not on the cart page. Currently you have the productoptionID from the $sizeOptions_rs recordset set as the value of your size select list. To make it work correctly you will need to have another recordset that is almost identical to the current sizeOptions_rs recordset. The only difference is that this second recordset will be filtered on the posted optionID.

Add a new recordset and go to advanced view, in here you will have the query like this:

SELECT * FROM productoptions

You will need to update it to be like this:

SELECT * FROM productoptions
WHERE productoptionID = colname

Then just under the query view in the advanced interface you will add a new query variable, it will have settings like this:

name: colname
type: numeric
default value: -1
runtime value: $_POST['SoftDipesCart1_4_Price_Add']

This should create a new recordset for you that is filtered on the selection of the posted size select list. You can then go into your add to cart server behavior and in the bindings tab select your column and then using the lightning bolt icon select the value that will be coming from this newly defined recordset. This way you can add any details about the selected size in your add to cart server behavior.

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