Applet: uShopInput2

Description:
The uShopInput2 applet is a basic input button that will appear as any specified image.

Example:


<APPLET CODE="uShopInput2.class" CODEBASE="../classes/" WIDTH=55 HEIGHT=75>
<PARAM NAME="id"                 VALUE="B00002">
<PARAM NAME="name"               VALUE="Chocolates">
<PARAM NAME="description"        VALUE="Box of 24 chocolates; Assorted flavors.">
<PARAM NAME="weight"             VALUE="1">
<PARAM NAME="price"              VALUE="$ 12.00">
<PARAM NAME="classification"     VALUE="NONE">
<PARAM NAME="shipping_modifier"  VALUE="$0.00">
<PARAM NAME="taxable"            VALUE="YES">
<PARAM NAME="image"              VALUE="example_image_button.gif">
<PARAM NAME="border"             VALUE="YES">
<PARAM NAME="popup"              VALUE="NO">
</APPLET>


Parameters:

Name Description
codebase This parameter is actually part of the <APPLET> tag and therefore should be specified on the first line of the Applet (see example). It allows you to specify the location of this applet's class file. The recommended value is "../classes/". See codebase for more information.
id A unique ID for the product.
name The name of the product.
description A brief description of the product.
weight The weight of the product. The default value is "0".
price The price of the product. Note that the format of this price parameter may be either a single value such as "$19.95" or may be in the format of a quantity@price table such as "1 @ $50.00,2 @ $45.00,3 @ $40.00". See price parameter format for more information on quantity price tables.
classification The classification of a product. This allows you to assign the product to a specific class of products such as "MUSIC CDS" or "VIDEO TAPES" and will be used to relate similar products. Typically, this parameter is used in correlation with quantity&price tables or setting up discounts such as "All CDs are 25% Off". The default value is "NONE".
shipping_modifier This parameter allows you to assign a specific shipping cost modifier for this product. For example, if you want to charge an extra $2.00 to ship this item, then you could set this parameter to "$2.00". The default value is "$0.00".
taxable This parameter allows you to specify whether this item is taxable or not. Valid values are "YES" or "NO". The default value is "YES".
image This parameter allows you to specify the image that will be displayed as the button. Note that due to the security restrictions built into IE, when loading any image by an applet, the image must be located in the same directory as the applet's class file. So be sure that the image that you specify here is located in your "classes" directory.
border This parameter allows you to specify whether you want a 3-D border drawn around the image or not. Valid values for this parameter are "YES" or "NO". The default value is "YES".
popup This parameter allows you to specify whether to display a message in a popup window whenever this item has been added to the shopping cart. Valid values are "YES" or "NO". The default value is "NO".