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

rating

Multiple Registrations with one Add to Cart

Thread began 6/06/2012 9:58 am by fms77717 | Last modified 6/11/2012 10:12 am by Jason Byrnes | 395 views | 2 replies |

fms77717Beta Tester

Multiple Registrations with one Add to Cart

I use eCart to process registrations for various events. We have a page that the user enters their name and address. The add to cart registers them for this event and works perfectly.

What I would like to do is create a table so that Administration can enter several people that want to register for the same event and have only ONE Add To Cart button. Is that possible.

I am comfortable with the Add-To-Cart PHP code and see how it processes the information for one person. Can this be modified easily?

Thanks.

Sam

Sign in to reply to this post

fms77717Beta Tester

Multiple Add-to-Cart Items with one click

A similar problem.
I would like to add multiple items to my cart with one click. For simplicity, I have two products that I would like to add to my cart. One is alway being added and the second one is optional.
What I would like is a checkbox for the second item. If checked, it will add this second item (presumably with another Add-to-Cart Button, hidden??). When the customer clicks the first Add-to-Cart button, I will add this item to the cart and then check if they selected the second item. If so, then (with a little php programming) add the second item to the cart.

Am I on the right track.

Thanks.

Sam

Sign in to reply to this post

Jason ByrnesWebAssist

Add the add to cart button for the first item, then add a checkbox to the add to cart form.

set the value of the checkbox to the ID of the second item to add.

Create a lookup recordset that will filter the products table on the ID passed by the checkbox when the add to cart button is pressed.

Then use an add to cart server behavior. On the server behaviors panel, click the plus button and select eCart -> Add to cart -> Add to Cart.

Set the trigger to if the lookup recordset is not empty

on the bindings panel, use the columns from the lookup recordset.

Sign in to reply to this post

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