Note: Long and Short Descriptions, and images describe below may not be used in your sites configuration. It depends on the template used. Additional fields can be added via custom configuration. See site specific documentation which should be in a hidden Section under Pages.
Setting up a Category:
- The default Category has the following fields:
- ID: machine generated unique number identifying the category.
- Name: A unique name for the category, it may include space and can be up to 100 characters long
- Display Order: a floating point number which determines the relative order that categories will appear.
- Short Description: up to 255 characters used to describe the category. Use depends on the various templates. The tag is |.Short Desc..| (note the double period)
- CSDESC: (i.e., Category Short Description) is up to 255 characters in length.
- IMGA, IMGB: two images associated with the category. Use depends on the various template. Print style images (32 bit CYMK) will be silently converted to web format images (24 bit RGB) after upload.
- Menu Add-on: raw text which is appended to side column category lists after the category name (and out side the link). May be image tags or other HTML. Links/references need to be either absolute or site relative (e.g., begin with '/'). Make sure to use apostrophe's rather than double quotes.
- Lone Desc: (i.e., Category Long Description) similar to a content area on a content web page, uses the same editor. However, only the default catalog image library appears in the drop down. (Hint: use a separate window and open the Mange Media tab and use the Copy Link function to select images from other libraries. Use is dependent on the templates. In program to display single product/product family use |.CLDESC.| tag to display the category long description instead.
- Hide: check this check box to block the display of a category (and by inference any products or subordinate categories) in any lists. Note: direct references in, for example a content area, will still display the product. Useful for hiding seasonal categories.
- Determine the basic categories needed for your site.
- Enter the fields required for your site. The minimum is the the Category Name which must be unique (e.g, Boys Jean, vs. Jeans).
Go to top
Organizing Categories:
- Unless your catalog is very simple, there will be top level categories and subordinate categories. Draw out an outline of the categories to determine the organization of categories.
- Create the top level categories.
- Create the next level of categories and select the parent category or categories under which they will fall using the drop down at the bottom of the page.
- Categories cannot be deleted if they contain either subordinate categories or products. The system should hide the delete option when this is true.
Go to top
Programs to List Categories
- There are two programs to list categories: catlist2.pl (which always lists all the categories and subcategories under each), and catprodC.pl (which lists all the categories and products listed under the specified category as passed by the parameter "catid" (e.g, catprodC.pl?catid=5 would list all the Categories under category #5 and the products under category number 5). Category Line template (below) defines how each subordinate category would be displayed. and the Product Line template defines how each product is displayed).
- The following TAGS are used to display information about the Current Category in the catalog.tp1 template.
- IMGA,IMGA:L,IMGA:R,IMGA:C display unaligned Image A, left aligned Image A, right aligned Image A and center aligned Image A tags respectively. Note if the contents is not an image (i.e.,g ends in ".png", ".jpg", ".gif" or ".jpeg") only IMGA will contain a value and that value will be the original contents.
- IMGB, IMGB:L, IMGB:R, IMG:C display similar image tags for the second category image.
- CSDESC: display the Category Short Description
- CATLDESC: display the category Long Description.
- SC_CATNAME and SC_PAGETITLE: displays the name of the current category.
Go to top
Category Line Template (this section is primarily for site designers)
Go to top
Listing Categories in Templates and Content Pages (this section is primarily for site designers)
- |.TOP2CAT.|: Produce a display of the top level categories with their children below them. Each category family is wrapped in DIV tags with style id of 'top2cat'. Top level categories are 'bolded'. Each listing is a link to the appropriate category display page. Sample use is to provide a list of category families (parent and 1st level children) across the bottom of a page.
- |.SC_SIDECATLIST.|: Displays complete list of all non-hidden categories in the product tables as table class="sideCatlist" with spacer graphic to cause indenting for each level Sort of a Table of contents for the Catalog
- |.SC_TCATLIST.|: Displays list of top level categories in product tables as table class='TCatlist' one row per category. Use this one if your catalog has a lot of pages.
Go to top