uShopInputQuantity3_it.class
The uShopInputQuantity3 applet is similar to the uShopInputQuantity2
applet in that it provides an entry box for the customer so that the customer
can specify the quantity of the product for which he/she wants to buy. This
is ideal when the customer would normally buy more than one of the product -
instead of hitting the ADD button multiple times, the customer can enter the
quantity and then press the ADD button just once. The difference between
this applet and the uShopInputQuantity2 applet, is that this applet only
shows the quantity entry box and the ADD button - thus making it ideal when
you are limited by screen real estate.
Parameters
- id - A unique id for the product. Can be up to 8 characters.
- name - The name for the product. Can be up to 15 characters.
- description - A brief description of the product. Can be up to 26 characters.
- price - The price per each unit bought.
- quantity - The default quantity to be displayed in the quantity entry box.
- weight - The weight of the product. You only need to specify this if you
are using weight to calculate shipping. The default value is "0".
- textcolor - The color of the applet's text. You can specify an
RGB value separated by commas ("integer,integer,integer" where
each integer is a value between 0 and 255) or specify one of
the predefined colors: white, black, lightGray, gray, darkGray,
red, green, blue, yellow, magenta, cyan, pink, and orange. The
default value is "black".
- background - The background color of the applet. You can specify an
RGB value separated by commas ("integer,integer,integer" where
each integer is a value between 0 and 255) or specify one of
the predefined colors: white, black, lightGray, gray, darkGray,
red, green, blue, yellow, magenta, cyan, pink, and orange. The
default value is "white".
- popupwindow - This parameter lets you specify whether you want a pop-up window
to be displayed each time an item is added to the shopping cart. This
pop-up window is useful if the store does not use FRAMES and does not
always display the shopping cart. Set this parameter to "YES" if you
want the pop-up window displayed.
Note: Optional parameters are in italics
Example
<APPLET CODE = "uShopInputQuantity3_it.class" WIDTH=200 HEIGHT=35>
<PARAM NAME=id VALUE="Q00003">
<PARAM NAME=name VALUE="Bubble Gum">
<PARAM NAME=description VALUE="by the pack">
<PARAM NAME=weight VALUE="0">
<PARAM NAME=quantity VALUE="1">
<PARAM NAME=price VALUE="ITL 0.25">
<PARAM NAME=textcolor VALUE="black">
<PARAM NAME=background VALUE="153,204,255">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>