close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to create a "add to cart" with check box?

Thread began 12/30/2016 6:05 am by Jose | Last modified 1/03/2017 10:57 am by Ray Borduin | 2416 views | 9 replies |

Jose

How to create a "add to cart" with check box?

Hi, I would like to know how to create a "add to cart" with check box so I can add multiple items at the same time just select the item I want to add to the cart. I want to know if you have any tuturial about this. My idea is to pick something else and take them at the same time I click on "add to cart". Any ideas I will appreciate it. Also if you have included something similar in your new version to do that I can wait until you finish updating it
Thank you

Sign in to reply to this post

Ray BorduinWebAssist

It looks like there is a tutorial on the subject here: http://www.webassist.com/tutorials/Checkbox-method-for-add-to-cart

The concept is that you can use "DataAssist Search" server behavior to filter a recordset based on the checked values and then use the "Add to cart from Recordset" server behavior to add the items from the filtered recordset to the cart.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jose

Thank you Ray, I appreciate your help. I heard about that but I'm waiting for the upgrade of MYSQLI to do that. so, thank you again for your reply

Sign in to reply to this post

Ray BorduinWebAssist

You can do it with mySQLi already. MySQLi Server Behaviors allows for a checkbox list to be used as the recordset parameter and filter based on checkboxes without the need for Data Bridge, and eCart has already be updated to work with MySQLi.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jose

Oh, thank you I didn't know. Thank you Ray for your help

Sign in to reply to this post

Ray BorduinWebAssist

In your recordset you can do:

SELECT * FROM Table WHERE ID IN (paramname)

and then set up paramname as a checkbox list and it will add multiple when an array of checkbox values are passed.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jose

Okay thank you very much I will follow your instructions. Thank you again for your help

Sign in to reply to this post

Jose

Hello, one more question. Do I need two Recordsets or just one?

Sign in to reply to this post

Ray BorduinWebAssist

It is probably easier to do with two. Using one is possible, but could get confusing.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jose

Okey, thank you very much

Sign in to reply to this post
loading

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