uShopInputMenuOptionQuantityPriceX_de.class
The uShopInputMenuOptionQuantityPriceX_de applet allows you to create a pull-down
menu which contains a list of products from which the customer can
select. Each product in the menu can have it's own id, name, description,
and price/quantity relations. The quantity dependent price is displayd in a seperate field.
Parameters
- products - This parameter specifies the list of products to be available
in the pull down menu. For each product you must specify: id,
name,description, and price - Each separated by commas. (Just
see the example below on how to do this). For each product
there are quantity dependent prices. The lower limit QTY
and the corresponding price is separated by an @ sign. There is a minimum
order QTY - if the customer enters a lower QTY he is notified.
The calculated price is displayed in the DM-field.
- etc.......
Example:
H00001 has a minimum qty 20, price from 20 to 49 DM7.00, from 50 up DM6.50, no 3rd price category
H00003 has no minimum qty, price from 1 to 4 DM7.50, from 5 to 9 DM7.00, from 10 up DM6.50
<APPLET CODE = "uShopInputMenuOptionQuantityPriceX_de.class" WIDTH=550 HEIGHT=35>
<PARAM NAME=PRODUCTS
VALUE=" H00001,Hat,Halogenlampen ,20@DM7.00,50@DM6.50,,
H00002,Hat,Cardinals ,20@DM7.00,50@DM6.50,,
H00003,Hat,Cubs ,1@DM7.50,5@DM7.00,10@DM6.50,
H00004,Hat,Astros ,10@DM7.50,20@DM7.00,50@DM6.50,
H00005,Hat,Blue Jays ,10@DM7.50,20@DM7.00,50@DM6.50
">
<PARAM NAME=weight VALUE="0">
<PARAM NAME=options VALUE="yellow,red,blue,green">
<PARAM NAME=background VALUE="153,204,255">
<PARAM NAME=textcolor VALUE="black">
<PARAM NAME=menucolor VALUE="white">
<PARAM NAME=menutextcolor VALUE="black">
<PARAM NAME=fontsize VALUE="12">
<PARAM NAME=popupwindow VALUE="NO">
</APPLET>