close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

multiple add to cart problem

Thread began 6/17/2011 5:39 am by CraigR | Last modified 6/17/2011 10:30 am by CraigR | 637 views | 3 replies

CraigRBeta Tester

multiple add to cart problem

following on from a thread I started a couple of weeks ago.

I have a results page which is filtered by the dataassist search.

The results page has a multiple add to cart option, but i was experiencing a problem in that items would be added to the cart, even if the checkbox was unchecked.

I had what i thought was a solution, in that the trigger was looking not only for a submit button being pressed, but also that there was a check box array and checkboxes were selected.


this works, but still causes me a problem.

If the customer adds an item to the cart, removes it, goes back to the results page and doesn't check any boxes, then presses 'add to cart' the original item is still added to the cart.
I think this is because, in this instance, the search criteria is using the session value as the filter rather than the form criteria posted, (as the trigger is not fired)

Is it advisable just to reset the session ?


if (isset($_SESSION["WADbSearch2_results"]) && $_SESSION["WADbSearch2_results"] != "")     {

In this instance, there is no pagination

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





Ease of use


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