This is a sample page, demonstrating the various search options available.
Cartweaver uses a single custom tag for all search forms and navigation links, with options
for the various types of display.
Some examples are shown below. See cw-mod-searchnav.cfm for all available options.
NOTE: all search or navigation types will automatically select or highlight the current category and secondary category, based on the values in the current page's URL. This can be overridden on any given page for specific preselection.
For demonstration purposes, a category and subcategory are provided in the top of this page's code.
Search Form with All Options and Related Categories
Keywords, Categories and Secondary Categories are all enabled.
Relation of categories and secondaries is enabled. (Select a main category to narrow down available secondary categories).
Empty categories (no products available) are not included, and the number of products available in each category is shown.
Default options (All Categories, All Subcategories) are provided.
Search Form with No Keywords, No Defaults, Empty Categories Included
Categories and Secondary Categories are enabled, Keywords field is disabled.
Relation of categories and secondaries is disabled, and default options (e.g. All Categories) are not provided.
Empty categories with no products available are included, and the number of products available in each category is not shown.
Search Form with Keywords field only
Categories and subcategories are disabled. A custom phrase is defined for the initial text in the search box.
Category Links with All Defaults
Search links are created automatically for all top-level and secondary categories.
Secondary categories are related, and categories with no products are not shown.
Category Links with Main Categories and Custom Links
Search links are created automatically for all top-level categories.
Secondary links are disabled, and categories with no products are not shown.
The default link ('All Products') is provided, custom links (Home, Contact Us) are inserted, and a custom delimiter (•) is used.
Breadcrumb Serial Links
Simple breadcrumb navigation with minimal options set.
Vertical Nested Show/Hide Navigation Menu
Nested links are created automatically for all top-level and secondary categories.
This method generates pure HTML, which can be used in a number of ways.
The menu ID is user defined for easy selection.
Note: this sample, and the horizontal menu above both use the same specifications.