INCLUDE-CATEGORIES
available on v. 2.5 - updated 2002-10-28
If your customers think that they should be able to maintain the webstore themselves, you may use this feature.
If you wish to add a - automatically generated - category menu to
use the following html codes:
LIST ALL, INCLUDING MAIN CATEGORY WITH LINK
<!-- WEBMASTERCART CATEGORIES START -->
<iframe src='WMCshop.cgi?action=lstcat&showmain=1&linkmain=1'
framespacing='0'
frameborder='0'
scrolling='no'>
<script language="JavaScript">
document.write('<script language=JavaScript src=\"WMCshop.cgi?action=lstcat&showmain=1&linkmain=1\"><\/script>');
</script></iframe>
<!-- WEBMASTERCART CATEGORIES END-->
LIST ALL, INCLUDING MAIN CATEGORY WITHOUT LINK
<!-- WEBMASTERCART CATEGORIES START -->
<iframe src='WMCshop.cgi?action=lstcat&showmain=1&linkmain=0'
framespacing='0'
frameborder='0'
scrolling='no'>
<script language="JavaScript">
document.write('<script language=JavaScript src=\"WMCshop.cgi?action=lstcat&showmain=1&linkmain=0\"><\/script>');
</script></iframe>
<!-- WEBMASTERCART CATEGORIES END -->
<!-- WEBMASTERCART CATEGORIES START -->
<iframe src='WMCshop.cgi?action=lstcat&showmainonly=1'
framespacing='0'
frameborder='0'
scrolling='no'>
<script language="JavaScript">
document.write('<script language=JavaScript src=\"WMCshop.cgi?action=lstcat&showmainonly=1\"><\/script>');
</script></iframe>
<!-- WEBMASTERCART CATEGORIES END -->
<!-- WEBMASTERCART CATEGORIES START -->
<iframe src='WMCshop.cgi?action=lstcat&showmain=0&linkmain=0'
framespacing='0'
frameborder='0'
scrolling='no'>
<script language="JavaScript">
document.write('<script language=JavaScript src=\"WMCshop.cgi?action=lstcat&showmain=0&linkmain=0\"><\/script>');
</script></iframe>
<!-- WEBMASTERCART CATEGORIES END -->
IFRAME format can be modified with a STYLESHEET. Put a file named "style.css" in your cgi (store) folder.
For example:
BODY {
background-color:#FFFFFF;
font-family: verdana;
font-size: 12px;
}
A { text-decoration: none }
A:hover { text-decoration: underline; }
Note: IFRAME tag can be implemented with additional values like height=xxx