A number of
HTML pages are required for MiniVend operation. Typically they are used to transmit error messages, status of search or order operations, and other out of boundary conditions.
NOTE: The distributed demo does not use these default values.
The names of these pages can be set with the SpecialPage
directive. The standard pages and their default locations:
- badsearch (pages/badsearch.html)
-
The error page displayed if there is a system or user error with the search
engine. Overridden by mv_failpage if set on current form.
- canceled (pages/canceled.html)
-
The page displayed by MiniVend when an order has been canceled by the user.
- catalog (pages/catalog.html)
-
The main catalog page presented by MiniVend when another page is not
specified.
- checkout (pages/order.html)
-
The page the customer is sent to when checking out (the location pointed to
by a
[finish_order]
tag.
- confirmation (pages/confirmation.html)
-
After the order is completed, the confirmation page is displayed.
- failed (pages/failed.html)
-
If the sendmail program could not be invoked to email the completed order,
the failed.html page is displayed. (Sadly we don't know if the email was
successfully delivered).
- flypage (pages/flypage.html)
-
If the catalog page for an item was not found when its
[item-link]
is clicked, this page is used as a template to build an on-the-fly page.
See On-the-fly Catalog Pages. If frames are in use, the special order page can be overridden with the
one configured with the directive
FrameFlyPage.
- interact (pages/interact.html)
-
Displayed if an unexpected response was received from the browser, such as
not getting expected fields from submitting a form. This would probably
happen from typos in the html pages, but could be a browser bug.
- missing (pages/missing.html)
-
This page is displayed if the
URL from the browser specifies a page that does not
have a matching .html file in the pages directory. This can happen if the
customer saved a bookmark to a page that was later removed from the
database.
- needfield (pages/needfield.html)
-
Displayed if the user did not fill in a required field in the order form.
See REQUIRED FIELDS.
- nomatch (pages/nomatch.html)
-
This page is displayed if the search engine is used, but there is no match
for the search specification and no [no-match]
region found on the search page.
- noproduct (pages/noproduct.html)
-
This page is displayed if the
URL from the browser specifies the ordering of a
product code which is not in the products file.
- order (pages/order.html)
-
This page is displayed when the customer orders an item. It can contain any
or all of the customer-entered values, but is commonly used as a status
display (or ``shopping basket''). If frames are in use, the special order
page can be overridden with the one configured with the directive
FrameOrderPage.
- search (pages/search.html)
-
Contains the default output page for the search engine results. Also
required is an input page, which can be the same as search.html or an
additional page.
- violation (pages/violation.html)
-
Displayed if a security violation is noted, such as an attempt to submit a
credit card number on a non-secured form when in ExtraSecure mode.