Help Search our knowledge base:

Index - FAQ - Add to Cart code

 Details
Frequently Asked
Question (FAQ)

Document Number: 599

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.
Can I setup the cart to accept donations?

It is possible to set up the cart to allow donations.
You can allow your customers to select their donation amount.

Make sure to change the word demo to your username. You can also edit the recommended donation amount, and the description that you give the customer.

<form method=post action= 'https://860218.2uaerguo.asia/cgi-bin/cart.cgi'>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<td>Donation: </td>
<td>
<input type='text' name='VARPrice' value='5.00' size='4' />
</td>
</tr><tr>
<td colspan=2 align=center>
<input type='hidden' name='AddItem' value='demo|Donation|VARPrice|1|||||Tax:Shipping|||||' />
<input type=submit value='Add To Cart' />
</td>
</tr>
</table>
</form>