Applet: uShopInput14

Description:
The uShopInput14 applet has several entry boxes to allow customers to enter the desired item number, any options, the price, and the quantity. This is ideal for stores that want to just provide a single applet for ordering specific item/part numbers.

Example:


<APPLET CODE="uShopInput14.class" CODEBASE="../classes/" WIDTH=450 HEIGHT=80>
<PARAM NAME="id"                 VALUE="Entered By Customer">
<PARAM NAME="name"               VALUE="Carpeting">
<PARAM NAME="description"        VALUE="">
<PARAM NAME="text_label"         VALUE="Part Number">
<PARAM NAME="option_label"       VALUE="Options">
<PARAM NAME="weight"             VALUE="0">
<PARAM NAME="qty"                VALUE="10">
<PARAM NAME="show_qty"           VALUE="YES">
<PARAM NAME="min_price"          VALUE="$ 0.00">
<PARAM NAME="show_total"         VALUE="YES">
<PARAM NAME="classification"     VALUE="NONE">
<PARAM NAME="shipping_modifier"  VALUE="$0.00">
<PARAM NAME="taxable"            VALUE="YES">
<PARAM NAME="popup"              VALUE="NO">
<PARAM NAME="background_color"   VALUE="#B3D9FF">
<PARAM NAME="text_color"         VALUE="#000000">
</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 For this applet, the ID will correspond to the value entered by the customer.
name A general name for the products.
description A brief and general description of the products.
text_label The label that will be displayed next to the product number entry box. Typical values for this label are "Part Number" or "Item Number".
option_label The label that will be displayed next to the option entry box. Typical values for this label are "Options" or "Colors".
weight The weight of the product. The default value is "0".
qty The minimum quantity of this item that must be specified by the customer. If using the quantity entry box, this is also the default value that will appear in the quantity entry box. The default value for this parameter is "1".
show_qty This parameter allows you to specify whether to display the quantity entry box or not. Valid values are "YES" or "NO". The default value is "YES".
min_price The minimum price that a custom can enter in the price entry box. The default value is "$0.00".
show_total This parameter allows you to specify whether to display the current total price (as it changes based on the entered price and quantity). Valid values are "YES" or "NO". The default value is "NO".
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".
label This parameter allows you to specify the text that appears on the "Add" button's label. You can specify any text for this parameter. The default value is "ADD".
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".
background_color The applet's background color. This value can be specified as an RGB value such as "#FFFFFF" or as one of the keyword colors such as "white". See color parameter format for more information on colors.
text_color The applet's text color. This value can be specified as an RGB value such as "#000000" or as one of the keyword colors such as "black". See color parameter format for more information on colors.