Setup Guide
Remote Cart : Setup Guide : Adding items to your pages
There are several different styles you can use to list your products. You can use any one or a combination of these on your pages:
Basic Textbox
<FORM METHOD="POST" ACTION="http://www.remotecart.com/cart/shop.cgi">
<INPUT TYPE="hidden" NAME="merchant" VALUE="Merchant_Name">
<INPUT TYPE="text" NAME="item-Product_ID|Price|Product_Name|Weight"
SIZE="3">
<INPUT TYPE="submit" NAME="add" VALUE="Add to Cart">
</FORM>
This is what the code above would look like:
Drop-down list
<FORM METHOD="POST" ACTION="http://www.remotecart.com/cart/shop.cgi">
<INPUT TYPE="hidden" NAME="merchant" VALUE="Merchant_Name">
<SELECT NAME="item-Product_ID|Price|Product_Name|Weight"
<OPTION VALUE="0">0</OPTION>
<OPTION VALUE="1">1</OPTION>
<OPTION VALUE="2">2</OPTION>
<OPTION VALUE="3">3</OPTION>
<OPTION VALUE="4">4</OPTION>
<OPTION VALUE="5">5</OPTION>
<OPTION VALUE="6">6</OPTION>
<OPTION VALUE="7">7</OPTION>
<OPTION VALUE="8">8</OPTION>
<OPTION VALUE="9">9</OPTION>
<OPTION VALUE="10">10</OPTION>
</SELECT>
<INPUT TYPE="submit" NAME="add" VALUE="Add to Cart">
</FORM>
This is what the code above would look like:
Checkbox
Notice that we set a "value" in
this example. This is the number of items you want added if the
checkbox is checked.
<FORM METHOD="POST" ACTION="http://www.remotecart.com/cart/shop.cgi">
<INPUT TYPE="hidden" NAME="merchant" VALUE="Merchant_Name">
<INPUT TYPE="checkbox"
NAME="item-Product_ID|Price|Product_Name|Weight"
VALUE="1">
<INPUT TYPE="submit" NAME="add" VALUE="Add to Cart">
</FORM>
This is what the code above would look like:
Just a submit button
Notice that we set a "value" in this example.
This is the number of items you want added when
the submit button is clicked.
<FORM METHOD="POST" ACTION="http://www.remotecart.com/cart/shop.cgi">
<INPUT TYPE="hidden" NAME="merchant" VALUE="Merchant_Name">
<INPUT TYPE="hidden"
NAME="item-Product_ID|Price|Product_Name|Weight"
VALUE="1">
<INPUT TYPE="submit" NAME="add" VALUE="Add to Cart">
</FORM>
This is what the code above would look like:
Using a image as a submit button
You can also use a image in place of the regular
"submit" button. Just replace:
<INPUT TYPE="submit" NAME="add" VALUE="Add to Cart">
with
<INPUT ALIGN="middle" TYPE="image" NAME="add"
SRC="http://www.your-domain.com/image.gif">
