uShopInputOption3_nw.class
The uShopInputOption3 applet allows you to specify three lists of
options from which the customer can choose when buying the product.
This is ideal for providing a list of colors, sizes, etc... for which
the product is available.
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.
- option1 - A list of options from which the customer can choose when
ordering the product. You can specify as many options in
the list as you like, but each option must be separated by
a comma. (ie. "optionA,optionB,optionC,optionD"). Each option
can be up to 9 characters.
- option2 - A second list of options from which the customer can choose when
ordering the product. You can specify as many options in
the list as you like, but each option must be separated by
a comma. (ie. "optionA,optionB,optionC,optionD"). Each option
can be up to 9 characters.
- option3 - A third list of options from which the customer can choose when
ordering the product. You can specify as many options in
the list as you like, but each option must be separated by
a comma. (ie. "optionA,optionB,optionC,optionD"). Each option
can be up to 8 characters.
- price - The price of the product.
- 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".
- showid - In order to save on screen real estate, you can set this
parameter to "NO". A value of "NO" means that the product's id
will not be displayed on the applet (only in the shopping cart).
The default value is "YES".
- 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 = "uShopInputOption3_nw.class" WIDTH=480 HEIGHT=35>
<PARAM NAME=id VALUE="P00003">
<PARAM NAME=showid VALUE="YES">
<PARAM NAME=name VALUE="Pants">
<PARAM NAME=option1 VALUE="tan,dark gray,navy,black">
<PARAM NAME=option2 VALUE="W30,W32,W34,W36,W38,W40">
<PARAM NAME=option3 VALUE="I30,I32,I34,I36,I38">
<PARAM NAME=weight VALUE="2">
<PARAM NAME=price VALUE="NOK 34.00">
<PARAM NAME=textcolor VALUE="black">
<PARAM NAME=background VALUE="153,204,255">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>