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 Items with Qty. Textboxes

Thread began 3/24/2010 4:55 pm by charles164095 | Last modified 4/20/2010 12:31 pm by Jason Byrnes | 1122 views | 7 replies |


Multiple Items with Qty. Textboxes

I am trying to set a product page with the option to choose multiple products and choose quantities for each product. We have worked on this previously in ecart 3 using asp. I now need to be able to do so in ecart 5 in PHP. Please let me know if this is still possible.

Sign in to reply to this post

Dani Chankhour

Yes. you should be able to accomplish the same thing using eCart in PHP.

Did you follow a document to accomplish that?

you can use this pdf to help you get started:


Sign in to reply to this post


contacts rosenman

I have read that particular document, but it only mentioned check boxes. I am needing quantities. Previously that required naming the text box qty and adding the product ID for each as well as all the additional tweaks that were required.

The original process we created several years ago. My ticket was supportdetails.php?Ticket=1101 . This was in ecart3 and in asp..

I appreciate the assistance.

Sign in to reply to this post

Ray BorduinWebAssist

You should be able to use that same example, but then add text fields.

Append the ID of the added item to the name of the quantity field and you can specify the correct quantity to add that way. The same technique and steps from several years ago should still be valid today.

Sign in to reply to this post


Marginal Success

I have worked at this for the past week with some success, but the output is not consistant.

Below are links to two add to cart pages with two different prouducts.



I find that many times the order will be correct the first time, but if I add additional items to the cart, they will no constantly list in the cart.

I am attaching the php page file for review. This site is for a tour company. Each tour can multiple times and has two prices, one for adults, one for children,


Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

try changing the action of your add to cart form to:
<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""; ?>

<form  action="<?php echo $_SERVER["PHP_SELF"]; ?><?php echo (isset($_SERVER["QUERY_STRING"]) && $_SERVER["QUERY_STRING"] != "")?"?".$_SERVER["QUERY_STRING"]:""?>" method="post" enctype="multipart/form-data" name="add_to_cart" id="add_to_cart">
Sign in to reply to this post

carleneBeta Tester

I'm trying this same thing - but I'm working with eCart within a Power Store 3 store. Will it still work the same as you directed in this thread?

And I also need quantities as well as the checkboxes.



Sign in to reply to this post

Jason ByrnesWebAssist

yes, the steps are the same for doing this in power store 3.

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





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