![]() A service of IAT, Inc. | www.holonet.net |
Become a HoloNet Member Today! Services | Support | Account Admin | Contact Us | Site Map |
|
Internet Shopping Support For HoloWWW
E-Mail, Logging and Special Options | Style Options | Debugging
The default behavior of the "holostore" command is to create a purchase button: Sample code:
-e orders@widgets.com} Resulting InstantStore: You can customize the appearance of your InstantStore using the following style options:
-e orders@widgets.com -b "Order Now!"}
-e orders@widgets.com -s verbose}
Instead of either a button or a form, you can generate a link for the purchase by specifying the style as "url", again using the "-s" option:
-e orders@widgets.com -s url}">Buy Some Widgets</A>
Using the "-s debug" option will display information which may be helpful in diagnosing problems.
-T title This option allows you to change the title of the purchase form. By default, the title is "Purchase Item". If you wish to have a title with spaces, be sure to surround the title with double quotes, for example:
-[fF] field This option allows you to add additional fields to the form that is presented the user when making a purchase. "field" is the name of the field. For required fields, use "-F".
-[cC] field text This option allows you to add checkbox fields to the form that is presented the user when making a purchase. "field" is the name of the field, and "text" is the text presented after the checkbox. You may include HTML in text" if you wish. To require that the checkbox be checked before the user is allowed to purchase the item, use "-C".
-t templatefile You can use this option to further customize the appearance of the resulting InstantStore form. Here, "templatefile" is an HTML document that marks where to place the InstantStore purchase form on the resulting order form page and that specifies design elements, such as background, header, and footer, to be placed arround the HoloStore purchase form. Here is an example of the "holostore" code with the template option that you would place on your InstantStore Page:
-e orders@widgets.com -t ordertemplate.hst} The resulting button, when clicked, will bring up a standard InstantStore form with design elements as specified by the template, "ordertemplate.hst".
The file "ordertemplate.hst" is also constucted like an InstantStore page, but with the following command placed where you would like the template form to appear:
The "templatefile" name must end with the ".holostore" or ".hst" extension. Click HERE to view the source code of the "ordertemplate.hst" file.
-persistent The "-persistent" option set defaults for "holostore" commands that follow it in the file. This option would be used if you had multiple "holostore" commands on a page and wanted these commands to have the same options. For example, suppose you wanted all your buttons to say "Buy Me" instead of the default "Purchase". You could do this by adding the option "-b "Buy Me"" to all of your "holostore" commands, but this would be tedious. With the "-persistent" option, you could specify the following:
This command would not create a purchase button, but all "holostore" commands that followed it in your file would inherit the button label "Buy Me". You can set as many options as you wish with the "-persistent" option. For example, the following command would allow the button label, style, and price to be inherited:
Persistent commands also have the following qualities:
{holostore -persistent -b "Buy Me" -p 9.95}
{holostore -persistent -p 20.00}
|
|
|
|
||
|
|
Copyright © 1996-2000
IAT, Inc.
All Rights Reserved.
Legal Notices Your IP address is: Click Here |