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
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 v7 - Using Quantity in existing site
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mikeach
Starting Member

USA
40 Posts

Posted - February 23 2010 :  12:15:07  Show Profile  Reply with Quote
I'm adding VPASP v7 to an existing site, using the information from the manual doesn't allow the customer to change the quantity they want but this is a requirement.

Using the info from the manual we're using this link to add the product to the cart:

<a href="shopaddtocart.asp?catalogid=1&quantity=1">Order this product</a>

How do we make it so that the Quantity box is displayed?

Thanks for any help!

devshb
Senior Member

United Kingdom
1898 Posts

Posted - February 23 2010 :  13:06:29  Show Profile  Visit devshb's Homepage  Reply with Quote
you'd use a form, eg:

<form action="shopaddtocart.asp" method="post">
<input type="hidden" name="catalogid" value="1" />
Quantity: <input type="text" name="quantity" value="1" size="2" />
<br />
<input type="submit" value="Add to cart" />
</form>

Once you're on the view-cart page, you should be able to edit the qty regardless, if you can't then it's just a config value change (not sure offhand which config value it would be though)

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
www.BigYellowKey.com
Follow us on Twitter: http://twitter.com/bigyellowzone
Web Design, Online Marketing and VPASP addons

Edited by - devshb on February 23 2010 13:10:27
Go to Top of Page

mikeach
Starting Member

USA
40 Posts

Posted - February 23 2010 :  13:39:07  Show Profile  Reply with Quote
BigYellowZone comes through again! Thanks Simon.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000