VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 VP-ASP 6.50 Features and Facilities
 adding multiple products to cart?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

11 Posts

Posted - March 23 2007 :  09:43:58  Show Profile  Visit twopigs's Homepage  Reply with Quote
Hello, this is my first post! I am setting up vpasp (6.50) for a client and of course they need some customization. I'm not sure if this can be done. I currently have a search that will bring all products back for a vehicle (motorcycles) and I added the "shopaddtocart.asp" link which works fine. My question is would I be able to make a form on my page (which is outside of vpasp) to gather everything they checked, and send it all over to the shopping cart. so far I can just add one Example: catalogid=415&quantity=1
So it would need to take for example:

and they click "add all checked items to cart. I'm assuming this will be custom if at all doable?
Thanks in advance for any help!

Senior Member

United Kingdom
1898 Posts

Posted - March 23 2007 :  19:07:11  Show Profile  Visit devshb's Homepage  Reply with Quote
it's possible to do that; what you can try is to switch on the productselect config option (which allows you to tick multiple products on the shopdisplayproducts.asp pages), and then do a view-source when displaying more than one product on shopdisplayproducts.asp; from that point you can see what the form tags and field names should be that can then get posted to shopaddtocart.asp

Another possibility could be to have something like this:
but that's only relevant if your customers know the product codes
example product codes to try that out with are:

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons
Go to Top of Page

Starting Member

11 Posts

Posted - March 26 2007 :  16:08:15  Show Profile  Visit twopigs's Homepage  Reply with Quote
Thanks Simon, I will give that a try! I appreciate the help! I'll let you know how it goes. :)
Go to Top of Page

VP-ASP New User

114 Posts

Posted - March 26 2007 :  16:32:22  Show Profile  Visit seeker1's Homepage  Reply with Quote
Here is a simple form that adds multiple items to the cart. The information could be on query strings also.

<form name=testform method=Post action=shopproductselect.asp>
<input type=hidden name="quantity" value="2">
<input type=hidden name="quantity" value="1">
<input type=hidden name="processed0" value="7">
<input type=hidden name="processed1" value="8">
<input type=hidden name="prodindex" value="10">
<INPUT type=submit VALUE="Submit" name="Submit">

shopproductselect.asp handles multiple adds
Quantity is quantity for each product
Processed0 the value is catalogid for first product
processed1 the value is catalogid for next product
prodindex is maximum number of products (can be larger than really adding)

Howard Kadetz
Visit us for a range of VP-ASP products including the all new Guide to VP-ASP manual
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000