There are three different types of product category menus that
Kartris comes as standard with. The most commonly used is the default
CSS fold out type that our demo uses. It is also possible to use an
accordion type menu, or a select/dropdown menu. Our demo zip includes
a skin which uses an accordion control. It is possible to change the
control reference within this skin's .master file to use the
select/dropdown menu too. The following shows the different code for
each:
At default, the category menu will build up from the root of
your category structure, including all categories. In some cases, you
may want to have two or more category menus on your page, with each
using a specific category as a root. For example, if you have two top
level categories 'Shop by Brand' and 'Shop by Type', you may prefer to
have these as two distinct menus in different locations on the page.
To achieve this, you can set the root category for a category control,
like this:
The RootCategoryID is set to either 1 or 2 (in order to use the
Categories with IDs 1 and 2 as the base for each menu. Also note that
both controls have different IDs; these are largely arbitrary, but
must be different. You will generate an error if you try to have two
controls with the same ID on a page.