Help Search our knowledge base:

Index - FAQ - Add to Cart code

 Details
Frequently Asked
Question (FAQ)

Document Number: 879

Optimize for Printing
E-Mail This Link

 Feedback
This document ...
helps resolve my question or problem.
does not apply to my question or problem.
is inaccurate for my question or problem.
Is there a simple HTML template for ASP, Perl, PHP, ColdFusion scripts?

Use this database template if you need to add QCCart buttons to your current database driven website. You will need to adjust the template mildly to fit your specific script.

Below is a simple version of the database template. You can review the link at the bottom of the document in order to fine tune the template to your specific needs.
<form method="post" action="https://www.qccart.com/cgi-bin/cart.cgi">
<input type="hidden" name="AddItem" value="USER|DESCRIPTION|PRICE|QUANTITY|PARTNO| " />
<input type="submit" value="Add To Cart" />
</form>


A complete list of the AddItem values can be found here
Be sure to escape all HTML Entities And URI Escape codes to avoid broken buttons.