The draw functions are just a simple way of displaying the code. Here is how they work:
<%DRAWCART%> displays:
CODE
<table background="Images/cartbg.gif" border="0" valign="top" cellpadding="0" style="border-collapse: collapse" class="shoppingcartbg" width="100%" height="60" id="AutoNumber1">
<tr>
<td align="center" background="Images/cartbg.gif" width="100%" height="60" class="shoppingcartbg">
<b><font class="shoppingcart">Your Cart Is Empty</font></b></td>
</tr>
</table>
<br>
Where <%DRAWCART2%> displays:
CODE
<script language="javascript">
varlast =
varMinOrderQty = 0
function Cart2Checkout(intCartQty, intMode)
{
if(intCartQty==0 && intCartQty < varMinOrderQty) {
alert('Your Cart is empty, please add items before checking out')
}
else
{
if (intCartQty < varMinOrderQty)
alert('The minimum order amount is $0')
else
{
if (intMode == 2)
{
window.location.href = ("index.asp?PageAction=GETGBUYCART");
}
else
{
window.location.href = ("https://www.agkits.com/index.asp?PageAction=CARTCHECKOUTLOGIN");
}
}
}
}
function validateDetClearCart()
{
if(confirm('Are you sure you wish to clear your cart ?'))
window.location.href='Index.asp?PageAction=CLEARCART';
}
</script>
<table border="0" style="border-collapse: collapse" width="100%" height="76">
<tr>
<td height="76" width="640">
<p style="margin-top: 0; margin-bottom: 0" align="right">
<font class="shoppingcart">Items in your Cart: </font><b>
<font class="shoppingcart">0</font> </b></p>
<p style="margin-top: 0; margin-bottom: 0" align="right">
<font class="shoppingcart">Current Subtotal:</font><b><font class="shoppingcart">$0.00</font></b></p>
<hr class="shoppingcart" align="right" width="150">
<p style="margin-top: 0; margin-bottom: 0" align="right">
<a title="Clear Your Cart" href="java script:validateDetClearCart();"><img border="0" src="images/tcart-clear.gif"></a>
<a title="Checkout" href="java script:Cart2Checkout('0.00', 1);"><img border="0" alt="Checkout Button" title="Click Here To Checkout" src="images/tcart-checkout.gif"></a>
<a title="View Your Cart" href="index.asp?PageAction=CARTDETAILS"><img border="0" src="images/tcart-view.gif"></a>
</td>
</tr>
</table>
So rather than having to type out all that code you just use the draw function. However if you want to customize it some more you'll have to edit the actual code rather than use the draw functions. You should be able to customize those codes to suit your needs. Hope that helps