Featrues In action Services Contact Forum FAQ Buy
Search FAQ Database:

Q: Can I just add a 'buy button' and 'view cart' button without having to make a complete HTML page template?


A: Yes. Our cart automatically generates storefront that customers use to navigate web stores and make their purchase. Alternatively, however, you can simply put HTML code for "add to cart" and "view cart" buttons into your pre-existing web pages. In order to accomplish this you would have to do 2 things:

1) Enter all your items into the shopping cart database. For your purposes you can just enter basic information on the items (item's name and price).
2) Next you would have to add an HTML code for the new "Add to cart" button into your existing pages to link them with the shopping cart. You can use one of this HTML codes for "add to cart" button. First contains qty field, second had a hidden qty field with qty set at 1. Item number should be changed from 9001 to a proper one. Item numbers can be found through the administrative area. For example item 9001 will be listed as 1 and item number 90010 will be listed as 10. Simply add 900 prefix before the number

Example 1:

<form method=POST action=http://www.XXXXXXX.com/cgi-bin/ppcal.cgi> <input type=hidden name="##ITEM" value=9001> <input type=text name=item_quantity value=1 size=6> <input type=image src=http://www.shoppingcart.org/pptocart.gif name=submit border=0 alt=Go> </form>

Example 2:

<form method=POST action=http://www. XXXXXXX.com/cgi-bin/ppcal.cgi> <input type=hidden name="##ITEM" value=9001> <input type=hidden name=item_quantity value=1> <input type=image src=http://www.paypalshoppingcart.org/pptocart.gif name=submit border=0 alt=Go> </form>


Copyright 2001-2007 © ShoppingCart.ORG Shopping Cart | End User License Agreement

Home | Features | Selected Examples | All Examples | Demo | Administrative Demo
Demo Catalog | Contact | Support Forum | Frequently Asked Questions | Store
Shopping Cart Hosting | Web Site Map

Affiliated websites: ShoppingCart.org | PP2.org | PaypalShoppingCart.org