close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How can I create a "bundled" group of products with options that are added to the cart as a single object?

Thread began 8/28/2013 5:07 pm by troyd | Last modified 9/11/2013 8:09 am by troyd | 2084 views | 7 replies

troyd

Originally Said By: Jason Byrnes
  ...
Instead of using the checkboxes, just set the initial quantity value for the solid and glass shelf, and let the users increase the quantity if they like, a positive quantity would be the same as checking the box, the checkbox just adds an un needed layer of complexity.
...  



I changed the checkbox to a hidden field, and this, along with the Qty field, works fine if I am sending it straight to the eCart object like I was originally.

But I need to add a step in-between. So rather than "Add To Cart", I am posting the form to the search and recordset and printing it out as a string that will then be added to the cart as single item later.
But I can't figure out how to filter or trigger the results based on if the Qty boxes have a value or not.

The current Search comparison is:

//comparison list additions
$WADbSearch1->addComparisonFromList("ProductID","hiddenfield","AND","=",1);


Which returns all of the products since they are always true. So I need to add the Qty text field in here some how.

Would I add a comparison to the Search behavior that requires a value of > 0 before it grabs the product ID? If so, how would I do that? Or should I add some kind of WHERE clause to my recordset that is filtered by the Search.

Thanks
Troy

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