uShopOrderContactSMTP.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 fields
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 - If you would like to go to a custom thank you URL after an
order is placed, you can use this parameter to specify the URL.
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 "*Name:".
- 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 "*Day Phone:".
- 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 "*Evening Phone:".
- 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 "*Best Time:".
- 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".
- 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.class" WIDTH=450 HEIGHT=450>
<PARAM NAME=mailto VALUE="uburst1@uburst.com">
<PARAM NAME=subject VALUE="Contact Me">
<PARAM NAME=message VALUE="A representative will contact you.">
<PARAM NAME=label1 VALUE="*Name: ">
<PARAM NAME=label2 VALUE="*Day Phone: ">
<PARAM NAME=label3 VALUE="*Evening Phone: ">
<PARAM NAME=label4 VALUE="*Best Time: ">
<PARAM NAME=validate VALUE="YES">
<PARAM NAME=clearcart VALUE="NO">
<PARAM NAME=cart_info VALUE="YES">
<PARAM NAME=background VALUE="lightGray">
<PARAM NAME=thankyou_url VALUE="http://www.uburst.com">
</APPLET>