HoloNet Home
A service of IAT, Inc.  |  www.holonet.net
Join HoloNet Now!
Become a HoloNet Member Today!

Services  |  Support  |  Account Admin  |  Contact Us  |  Site Map


SUPPORT

    Account Support
    Technical Support
    Web Support
    Access Numbers
    Holonet FAQ

Web Support

HoloStore InstantStore
Internet Shopping Support For HoloWWW


Intro: Overview/Rates   |   Creating an InstantStore   |   Payment/Security   |   Password Protection
E-Mail, Logging and Special Options   |   Style Options   |   Debugging

Style Options

The default behavior of the "holostore" command is to create a purchase button:

Sample code:

{holostore -i item1 -d "Pack o' Widgets" -p 29.95
-e orders@widgets.com}

Resulting InstantStore:

- Click the button to view a standard form -

You can customize the appearance of your InstantStore using the following style options:

[Back to Top]


Changing the Button Style

  • -b text

    The "-b" option can be used to change the label of the InstantStore button. The default label is "Purchase". If your label name includes spaces, be sure to surround the "text" with double quotes as shown below:

{holostore -i item1 -d "Pack o' Widgets" -p 29.95
-e orders@widgets.com -b "Order Now!"}

  • -s verbose|url|debug

    Instead of displaying just a button, we can display a bordered verbose form by specifing the style as "verbose" using the "-s" option:

{holostore -i item1 -d "Pack o' Widgets" -p 29.95
-e orders@widgets.com -s verbose}

Description: Pack o' Widgets

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:

<A HREF="{holostore -i item1 -d "Pack o' Widgets" -p 29.95
-e orders@widgets.com -s url}">Buy Some Widgets</A>

Buy Some Widgets

Using the "-s debug" option will display information which may be helpful in diagnosing problems.

[Back to Top]

Changing the Form Title

-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:

-T "Purchase Widgets"

[Back to Top]

Adding Text Fields

-[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".

[Back to Top]

Adding Checkbox Fields

-[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".

[Back to Top]

Using Templates

-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:

{holostore -i item1 -d "Pack o' Widgets" -p 29.95
-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:

{holostore -t}

The "templatefile" name must end with the ".holostore" or ".hst" extension.

Click HERE to view the source code of the "ordertemplate.hst" file.

[Back to Top]

Persistent Options

-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:

{holostore -persistent -b "Buy Me"}

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:

{holostore -persistent -b "Buy Me" -s verbose -p 9 .95}

Persistent commands also have the following qualities:

  • Individual "holostore" commands can override the defaults set by the persistent option by explicity including the option.
  • The last persistent command overides all previous persistent commands, but only for the options explicitly mentioned in the last command.
So for the the following commands:

{holostore -persistent -b "Buy Me" -p 9.95}

{holostore -persistent -p 20.00}

  • Any command between these two commands would inherit the button label "Buy Me" and the price 9.95.
  • Any commands after the second command would inherit the price 20.00 and the button label "Buy Me".

[Back to Top]

Join HoloNet   |   Services   |   Support   |   Account Admin   |   Contact Us   |   Site Map   |   Home

HoloNet Home Copyright © 1996-2000  IAT, Inc.  All Rights Reserved.  Legal Notices
Your IP address is: Click Here

Last modified: Tue Jun 20 17:27:06 PDT 2000