by rob@rebii.com » Fri Jul 23, 2010 4:16 pm
Lauren, thanks for the reply. What you sent looked promising but when I do the submit based on the following html, only quantity 1 gets added to the cart.
Below is the quick html I threw together to try the quantity solution. Possibly I'm missing something important being relatively new to Shopsite.
Rob
<form action="http://www.xyz.com/cgi-bin/sc/order.cgi" method="post">
<span class="black8pt">
<input name="storeid" value="*12345678901234567890c" type="hidden">
<input name="dbname" value="products" type="hidden">
<input name="function" value="add" type="hidden">
</span>
<table border="0" cellpadding="1" cellspacing="1" width="500">
<tbody><tr>
<td colspan="2"><h5><em>To order: Enter the Product SKU and click Add to Cart</em></h5></td>
</tr>
<tr>
<td width="30">
Quantity
</td>
<td width="150">
Item Number (Product SKU)
</td>
</tr>
<!-- Test Item -->
<tr>
<td width="30">
<input type="text" size="2" name="[-- PRODUCT.SKU --]:qnty" value="5">
</td>
<td width="150">
<input type="text" name="sku" value="APP30" size="20" maxlength="10">
</td>
</tr>
<!-- End Test Item -->
<tr>
<td colspan="2">
</td>
</tr>
<tr>
<td width="10">
</td>
<td>
<input name="Add to Cart" alt="Add to Cart" type="submit" border="0">
</td>
</tr>
</p>
<p> </p>
</form>