uShopOrderContactSMTP_it.class
The uShopOrderContactSMTP applet is an order form that does
not request any payment information. This was designed to be used
as a "Contact Us" applet. This applet has four configurable labels
and an option on whether to send the current contents of the
shopping cart with the notification.
Parameters
- mailto - The email address to send the order information to. Example:
"sales@mystore.com".
- subject - The subject that will appear on these emails. Example:
"Contact Me".
- message - An optional message that will be included on the bottom of the
order receipt that is sent to the customer.
- thankyou_url - Instead of letting uShop create an receipt page after an
order is placed, this parameter lets you specify a URL of a custom
thankyou page (or any web page) that you want to appear after an
order is place. Example: "http://www.uburst.com".
- label1 - The label to appear by the first text entry box. You can specify
any label you want such as "First Name:", "Name:", "Company:", etc.
The default value is "*Nome:".
- label2 - The label to appear by the third text entry box. You can specify
any label you want such as "Phone:", "Work Phone:", "Day Phone:",
etc. The default value is "*Telefono Giornaliero:".
- label3 - The label to appear by the fourth text entry box. You can specify
any label you want such as "Phone:", "Home Phone:", "Evening Phone:",
etc. The default value is "*Telefono serale:".
- label4 - The label to appear by the fifth text entry box. You can specify
any label you want such as "Best Time:", "Time Range:", "After:",
etc. The default value is "*Miglior tempo:".
- validate - This parameter lets you specify whether you want to require that
the customer enters a value in all of the text entry boxes.
- cart_info - This parameter lets you specify whether you want to include the
current shopping cart contents (product information) with the
contact notification.
- clearcart - This parameter specifies whether to clear the shopping cart
and order form after the customer has submitted the order. Valid
values are "YES" or "NO". The default value is "NO".
- popupwindow - This parameter allows you to specify whether you want a enable
a pop-up window to display error messages. That is, if you set this value
to "YES", then any messages to be displayed will be displayed in a pop-up
window - such as a message to indicate "You must fill in your name". If you
do not want to use a pop-up window, set this parameter to "NO". The default
value is "YES".
- textcolor - The text 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".
- 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".
Note: Optional parameters are in italics
Example
<APPLET CODE = "uShopOrderContactSMTP_it.class" WIDTH=450 HEIGHT=450>
<PARAM NAME=mailto VALUE="info@uburst.com">
<PARAM NAME=subject VALUE="Contattami">
<PARAM NAME=message VALUE="Ein Mitarbeiter meldet sich bei Ihnen.">
<PARAM NAME=label1 VALUE="*Nome: ">
<PARAM NAME=label2 VALUE="*Telefono Giornaliero: ">
<PARAM NAME=label3 VALUE="*Telefono serale: ">
<PARAM NAME=label4 VALUE="*Miglior tempo: ">
<PARAM NAME=validate VALUE="YES">
<PARAM NAME=clearcart VALUE="NO">
<PARAM NAME=cart_info VALUE="YES">
<PARAM NAME=popupwindow VALUE="YES">
<PARAM NAME=textcolor VALUE="black">
<PARAM NAME=background VALUE="lightGray">
<PARAM NAME=return_url VALUE="http://www.uburst.com">
<PARAM NAME=thankyou_url VALUE="NONE">
</APPLET>