Add To Cart

The second method of integrating VPCART into your existing website is slightly more complex, but very powerful.

 

You can add a specific hyperlink anywhere in your existing website to the VPCART pageshopaddtocart.asp.

 

This will add one specific product to the cart from anywhere in your existing website.

 

Two pieces of information are required to be passed along with this link, as shown below.

 

1.  Catalogid – The ID of the product in your VPCART database. You can find out what this is by locating the product in your VPCART administration and taking note of the ID.

2.  Quantity – This just needs to be the quantity of this particular item you want to add to the cart when the customer clicks this link.

 

An example of a link in this format that you can include in your website is shown below:

 

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